Enum PolicyConfig.SamplingMethod
- java.lang.Object
-
- java.lang.Enum<PolicyConfig.SamplingMethod>
-
- org.epics.archiverappliance.mgmt.policy.PolicyConfig.SamplingMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<PolicyConfig.SamplingMethod>
,Constable
- Enclosing class:
- PolicyConfig
public static enum PolicyConfig.SamplingMethod extends Enum<PolicyConfig.SamplingMethod>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONT_ARCHIVE
MONITOR
SCAN
-
Method Summary
Modifier and Type Method Description static PolicyConfig.SamplingMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static PolicyConfig.SamplingMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCAN
public static final PolicyConfig.SamplingMethod SCAN
-
MONITOR
public static final PolicyConfig.SamplingMethod MONITOR
-
DONT_ARCHIVE
public static final PolicyConfig.SamplingMethod DONT_ARCHIVE
-
-
Method Detail
-
values
public static PolicyConfig.SamplingMethod[] 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 PolicyConfig.SamplingMethod 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
-
-