Package com.cumulocity.sdk.client
Enum ProcessingMode
- java.lang.Object
-
- java.lang.Enum<ProcessingMode>
-
- com.cumulocity.sdk.client.ProcessingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ProcessingMode>
public enum ProcessingMode extends Enum<ProcessingMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CEP
CEP only.PERSISTENT
QUIESCENT
Persistent with real time broadcast disabledTRANSIENT
-
Field Summary
Fields Modifier and Type Field Description static ProcessingMode
DEFAULT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isPersistent(ProcessingMode other)
static boolean
isQuiescent(ProcessingMode other)
static ProcessingMode
parse(String value)
static ProcessingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProcessingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRANSIENT
public static final ProcessingMode TRANSIENT
-
PERSISTENT
public static final ProcessingMode PERSISTENT
-
QUIESCENT
public static final ProcessingMode QUIESCENT
Persistent with real time broadcast disabled
-
CEP
public static final ProcessingMode CEP
CEP only. Persistence and real time broadcast are disabled.
-
-
Field Detail
-
DEFAULT
public static final ProcessingMode DEFAULT
-
-
Method Detail
-
values
public static ProcessingMode[] 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 (ProcessingMode c : ProcessingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessingMode 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
-
parse
public static ProcessingMode parse(String value)
-
isPersistent
public static boolean isPersistent(ProcessingMode other)
-
isQuiescent
public static boolean isQuiescent(ProcessingMode other)
-
-