Package cern.nxcals.api.custom.domain
Enum SnapshotProperty
- java.lang.Object
-
- java.lang.Enum<SnapshotProperty>
-
- cern.nxcals.api.custom.domain.SnapshotProperty
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SnapshotProperty>
public enum SnapshotProperty extends java.lang.Enum<SnapshotProperty>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEAM_MODE_ENDBEAM_MODE_STARTDYNAMIC_DURATIONEND_TIMEFILL_NUMBERIS_END_TIME_DYNAMICPRIOR_TIMESTART_TIMETIMETIME_ZONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Function<java.lang.Object,java.lang.String>getSerializer()java.lang.StringgetValue()static SnapshotPropertyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SnapshotProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.java.lang.StringvalueToJson(java.lang.Object value)
-
-
-
Enum Constant Detail
-
BEAM_MODE_END
public static final SnapshotProperty BEAM_MODE_END
-
BEAM_MODE_START
public static final SnapshotProperty BEAM_MODE_START
-
FILL_NUMBER
public static final SnapshotProperty FILL_NUMBER
-
DYNAMIC_DURATION
public static final SnapshotProperty DYNAMIC_DURATION
-
END_TIME
public static final SnapshotProperty END_TIME
-
PRIOR_TIME
public static final SnapshotProperty PRIOR_TIME
-
START_TIME
public static final SnapshotProperty START_TIME
-
TIME
public static final SnapshotProperty TIME
-
TIME_ZONE
public static final SnapshotProperty TIME_ZONE
-
IS_END_TIME_DYNAMIC
public static final SnapshotProperty IS_END_TIME_DYNAMIC
-
-
Method Detail
-
values
public static SnapshotProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SnapshotProperty c : SnapshotProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SnapshotProperty valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueToJson
public java.lang.String valueToJson(java.lang.Object value)
-
getValue
public java.lang.String getValue()
-
getSerializer
public java.util.function.Function<java.lang.Object,java.lang.String> getSerializer()
-
-