@Retention(value=RUNTIME)
public @interface Storage
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
NOT_ROAMABLE_FILE
Deprecated.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
deprecated
If deprecated: Data will be removed on write.
|
boolean |
exclusive |
boolean |
exportable
Is exportable (Export Settings dialog) regardless of roaming type.
|
java.lang.String |
file
Deprecated.
Use
value() . |
RoamingType |
roamingType
Used by the Settings Repository plugin to determine how application-level settings should be shared between different IDE installations.
|
java.lang.Class<? extends StateSplitter> |
stateSplitter |
java.lang.Class<? extends StateStorage> |
storageClass
Class must have constructor
(String fileSpec, ComponentManager componentManager, StateStorageManager storageManager) . |
ThreeState |
useSaveThreshold
Whether to apply save threshold policy (defaults to true if roamingType is set to DISABLED)
|
java.lang.String |
value
Relative to component container configuration root path.
|
@Deprecated public static final java.lang.String NOT_ROAMABLE_FILE
@Deprecated public abstract java.lang.String file
value()
.public abstract java.lang.String value
@Storage("yourName.xml")
(when you need to specify only file path).
Consider reusing existing storage files instead of a new one. No one need myriads config files. Related components should reuse storage file.StoragePathMacros
public abstract boolean deprecated
public abstract RoamingType roamingType
value()
).public abstract java.lang.Class<? extends StateStorage> storageClass
(String fileSpec, ComponentManager componentManager, StateStorageManager storageManager)
.
componentManager
parameter can have more concrete type - e.g. Module (if storage intended to support only one type).public abstract java.lang.Class<? extends StateSplitter> stateSplitter
public abstract ThreeState useSaveThreshold