Enum SyncOperation
- java.lang.Object
-
- java.lang.Enum<SyncOperation>
-
- org.apache.iotdb.commons.sync.pipe.SyncOperation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SyncOperation>
public enum SyncOperation extends java.lang.Enum<SyncOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_PIPECREATE_PIPESINKDROP_PIPEDROP_PIPESINKSTART_PIPESTOP_PIPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyncOperationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SyncOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_PIPESINK
public static final SyncOperation CREATE_PIPESINK
-
DROP_PIPESINK
public static final SyncOperation DROP_PIPESINK
-
CREATE_PIPE
public static final SyncOperation CREATE_PIPE
-
START_PIPE
public static final SyncOperation START_PIPE
-
STOP_PIPE
public static final SyncOperation STOP_PIPE
-
DROP_PIPE
public static final SyncOperation DROP_PIPE
-
-
Method Detail
-
values
public static SyncOperation[] 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 (SyncOperation c : SyncOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncOperation 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
-
-