public enum SavePolicy extends Enum<SavePolicy>
Module: model-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>model-api</artifactId> </dependency>
Enum Constant and Description |
---|
DO_NOT_SAVE
The object should not be saved.
|
SESSION_FILE
The object should be saved in the session file.
|
Modifier and Type | Method and Description |
---|---|
static SavePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SavePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SavePolicy DO_NOT_SAVE
public static final SavePolicy SESSION_FILE
public static SavePolicy[] values()
for (SavePolicy c : SavePolicy.values()) System.out.println(c);
public static 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.