public interface FilePropertyPusher<T>
Modifier and Type | Interface and Description |
---|---|
static interface |
FilePropertyPusher.Engine
Deprecated.
not used anymore
|
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<FilePropertyPusher<?>> |
EP_NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDirectory(VirtualFile file,
Project project) |
boolean |
acceptsFile(VirtualFile file) |
default boolean |
acceptsFile(VirtualFile file,
Project project) |
void |
afterRootsChanged(Project project) |
T |
getDefaultValue() |
Key<T> |
getFileDataKey() |
T |
getImmediateValue(Module module) |
T |
getImmediateValue(Project project,
VirtualFile file) |
default void |
initExtra(Project project,
MessageBus bus) |
default void |
initExtra(Project project,
MessageBus bus,
FilePropertyPusher.Engine languageLevelUpdater)
Deprecated.
use
initExtra(Project, MessageBus) instead |
void |
persistAttribute(Project project,
VirtualFile fileOrDir,
T value) |
boolean |
pushDirectoriesOnly() |
static final ExtensionPointName<FilePropertyPusher<?>> EP_NAME
default void initExtra(Project project, MessageBus bus)
@Deprecated default void initExtra(Project project, MessageBus bus, FilePropertyPusher.Engine languageLevelUpdater)
initExtra(Project, MessageBus)
insteadboolean pushDirectoriesOnly()
T getDefaultValue()
T getImmediateValue(Project project, VirtualFile file)
default boolean acceptsFile(VirtualFile file, Project project)
boolean acceptsFile(VirtualFile file)
boolean acceptsDirectory(VirtualFile file, Project project)
void persistAttribute(Project project, VirtualFile fileOrDir, T value) throws java.io.IOException
java.io.IOException
void afterRootsChanged(Project project)