public static final class ProvidersTypes.SessionInfo.Stage extends ApiEnumeration<ProvidersTypes.SessionInfo.Stage>
Stage
class defines the different stages of Sync. Warning:
This enumeration is available as technical preview. It may be changed in a
future release.
Modifier and Type | Class and Description |
---|---|
static class |
ProvidersTypes.SessionInfo.Stage.Values
Native Java
enum representing this enumeration class. |
Modifier and Type | Field and Description |
---|---|
static ProvidersTypes.SessionInfo.Stage |
CHANGE_APPLICATION
Changes are being applied to the destination replica.
|
static ProvidersTypes.SessionInfo.Stage |
CHANGE_DETECTION
Changes are being detected on the source replica.
|
static ProvidersTypes.SessionInfo.Stage |
CHANGE_ENUMERATION
Changes from the source replica are being enumerated.
|
static ProvidersTypes.SessionInfo.Stage |
COMPLETED
Sync has completed.
|
static ProvidersTypes.SessionInfo.Stage |
FAILED
Sync failed.
|
static ProvidersTypes.SessionInfo.Stage |
WAITING
Session is waiting for progress to be set.
|
Modifier and Type | Method and Description |
---|---|
ProvidersTypes.SessionInfo.Stage.Values |
getEnumValue()
Returns a native Java
enum constant representing this enumeration
constant. |
boolean |
isUnknown()
Checks if this enumeration constant is unknown.
|
static ProvidersTypes.SessionInfo.Stage |
valueOf(java.lang.String name)
Returns the enumeration constant for the specified name.
|
static ProvidersTypes.SessionInfo.Stage[] |
values()
Retrieve all enumeration constants pre-defined by this enumeration class.
|
buildNameMap, equals, hashCode, name, toString
public static final ProvidersTypes.SessionInfo.Stage CHANGE_DETECTION
public static final ProvidersTypes.SessionInfo.Stage CHANGE_ENUMERATION
public static final ProvidersTypes.SessionInfo.Stage CHANGE_APPLICATION
public static final ProvidersTypes.SessionInfo.Stage COMPLETED
public static final ProvidersTypes.SessionInfo.Stage FAILED
public static final ProvidersTypes.SessionInfo.Stage WAITING
public static ProvidersTypes.SessionInfo.Stage[] values()
Additional instances might exist at runtime, for example to represent a
new constant added to this enumeration class in subsequent version of the
API. Such new constant is represented as instance of ProvidersTypes.SessionInfo.Stage
but is not pre-defined.
null
.public static ProvidersTypes.SessionInfo.Stage valueOf(java.lang.String name)
If the name matches exactly the identifier used to declare an enumeration constant from this enumeration class, the constant in question will be returned.
Otherwise, a new instance of ProvidersTypes.SessionInfo.Stage
will be returned for the
specified name, which will not be one of the pre-defined constant
instances. Such new instance maps to the ProvidersTypes.SessionInfo.Stage.Values._UNKNOWN
enum
constant from the native Java enum
.
name
- The name of the constant to return. Must not be null
.null
.public boolean isUnknown()
valueOf(java.lang.String)
and values()
.true
if this constant is unknown, and false
otherwise.public ProvidersTypes.SessionInfo.Stage.Values getEnumValue()
enum
constant representing this enumeration
constant. The result is useful for usual handling of Java enum
,
for example it can be used in switch
statements.
If this enumeration constant is unknown, then ProvidersTypes.SessionInfo.Stage.Values._UNKNOWN
enum
constant is returned.
The native Java enum
is ProvidersTypes.SessionInfo.Stage.Values
.
enum
constant. Never null
.