@Retention(value=RUNTIME)
public @interface State
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
Component name.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
additionalExportFile
Additional export path (relative to application-level configuration root directory).
|
boolean |
allowLoadInTests |
boolean |
defaultStateAsResource
If true, default state will be loaded from resources (if exists).
|
boolean |
externalStorageOnly
Is this component intended to store data only in the external storage.
|
java.lang.Class<? extends State.NameGetter> |
presentableName |
boolean |
reloadable
If set to false, complete project (or application) reload is required when the storage file is changed externally and the state has changed.
|
boolean |
reportStatistic
Enables recording of boolean and numerical fields, if true and statistics is allowed.
|
Storage [] |
storages
Storages specification.
|
boolean |
useLoadedStateAsExisting |
public abstract Storage [] storages
Storages specification.
Project-level: optional, standard project file will be used by default
(*.ipr
file for file-based and
.idea/misc.xml
for directory-based).
Module-level: optional, corresponding module file will be used (*.iml
).
public abstract boolean reloadable
public abstract boolean defaultStateAsResource
public abstract java.lang.String additionalExportFile
public abstract java.lang.Class<? extends State.NameGetter> presentableName
public abstract boolean externalStorageOnly
public abstract boolean reportStatistic
Enables recording of boolean and numerical fields, if true and statistics is allowed.
Boolean: records not default value of the field.
Numerical: records an event that the value is not default.
To record an absolute value of the field, add ReportValue
annotation.
org.jdom.Element