public static enum CyProperty.SavePolicy extends Enum<CyProperty.SavePolicy>
Enum Constant and Description |
---|
CONFIG_DIR
These properties are loaded from and written to the default config
directory and are user defaults.
|
DO_NOT_SAVE
These properties are preset by Cytoscape to some default value and
are never written out.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static CyProperty.SavePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CyProperty.SavePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CyProperty.SavePolicy DO_NOT_SAVE
public static final CyProperty.SavePolicy CONFIG_DIR
public static final CyProperty.SavePolicy SESSION_FILE
public static final CyProperty.SavePolicy SESSION_FILE_AND_CONFIG_DIR
public static CyProperty.SavePolicy[] values()
for (CyProperty.SavePolicy c : CyProperty.SavePolicy.values()) System.out.println(c);
public static CyProperty.SavePolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright 2011-2015 Cytoscape Consortium. All rights reserved.