Package com.day.cq.dam.scene7.api
Enum S7Config.SyncMode
- java.lang.Object
-
- java.lang.Enum<S7Config.SyncMode>
-
- com.day.cq.dam.scene7.api.S7Config.SyncMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<S7Config.SyncMode>
- Enclosing interface:
- S7Config
public static enum S7Config.SyncMode extends java.lang.Enum<S7Config.SyncMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static S7Config.SyncMode
fromString(java.lang.String mode)
Returns SyncMode enum value by parsing a corresponding stringstatic S7Config.SyncMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static S7Config.SyncMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCLUDE
public static final S7Config.SyncMode INCLUDE
-
EXCLUDE
public static final S7Config.SyncMode EXCLUDE
-
READ_ONLY
public static final S7Config.SyncMode READ_ONLY
-
-
Method Detail
-
values
public static S7Config.SyncMode[] 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 (S7Config.SyncMode c : S7Config.SyncMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S7Config.SyncMode 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
-
fromString
public static S7Config.SyncMode fromString(java.lang.String mode)
Returns SyncMode enum value by parsing a corresponding string- Parameters:
mode
- string value of syncmode- Returns:
- SyncMode
-
-