Enum Enablement
- java.lang.Object
-
- java.lang.Enum<Enablement>
-
- org.epics.archiverappliance.engine.model.Enablement
-
- All Implemented Interfaces:
Serializable
,Comparable<Enablement>
,Constable
public enum Enablement extends Enum<Enablement>
Describes how a channel acts on a group.- Author:
- Kay Kasemir
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description static Enablement
valueOf(String name)
Returns the enum constant of this type with the specified name.static Enablement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Passive
public static final Enablement Passive
Channel is simply part of the group, but doesn't act on the group
-
Enabling
public static final Enablement Enabling
Channel enables archiving of the group when non-zero
-
Disabling
public static final Enablement Disabling
Channel disables archiving of the group when non-zero
-
-
Method Detail
-
values
public static Enablement[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Enablement valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-