Package org.cytoscape.property
Enum Class CyProperty.SavePolicy
- All Implemented Interfaces:
Serializable
,Comparable<CyProperty.SavePolicy>
,java.lang.constant.Constable
- Enclosing interface:
- CyProperty<P>
SavePolicy specifies how the CyProperty will be saved, or if it will not be saved.
Cytoscape Backwards Compatibility (Enum): This class is an enum therefore can't be extended by users. This means that we may add methods or enum values for minor version updates. Methods or enum values will only be removed for major version updates.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThese properties are loaded from and written to the default config directory and are user defaults.These properties are preset by Cytoscape to some default value and are never written out.These properties will be loaded from and saved to session files.These properties will be loaded from and saved to session files and the default config directory. -
Method Summary
Modifier and TypeMethodDescriptionstatic CyProperty.SavePolicy
Returns the enum constant of this class with the specified name.static CyProperty.SavePolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DO_NOT_SAVE
These properties are preset by Cytoscape to some default value and are never written out. -
CONFIG_DIR
These properties are loaded from and written to the default config directory and are user defaults. -
SESSION_FILE
These properties will be loaded from and saved to session files. -
SESSION_FILE_AND_CONFIG_DIR
These properties will be loaded from and saved to session files and the default config directory. (Settings in a session file will overwrite those from the default config directory.)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-