Package com.e1c.g5.v8.dt.snapshot
Enum Class SnapshotTask
- All Implemented Interfaces:
Serializable
,Comparable<SnapshotTask>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<SnapshotTask>
both()
Gets a set, containing bothSnapshotTask
s.static Set<SnapshotTask>
none()
Gets an empty set ofSnapshotTask
s.toSet()
Converts thisSnapshotTask
to a set of one element.static SnapshotTask
Returns the enum constant of this class with the specified name.static SnapshotTask[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE
Create snapshot. -
RESTORE
Restore snapshot.
-
-
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
-
toSet
Converts thisSnapshotTask
to a set of one element.- Returns:
- the set containing this object, never
null
-
both
Gets a set, containing bothSnapshotTask
s.- Returns:
- the set, containing both tasks, never
null
-
none
Gets an empty set ofSnapshotTask
s.- Returns:
- the empty set, never
null
-