public enum SandboxState extends java.lang.Enum<SandboxState>
Modifier and Type | Class and Description |
---|---|
static class |
SandboxState.Condition
A boolean condition based on a sandbox state.
|
Enum Constant and Description |
---|
ACTIVE
Indicates that a sandbox is active and ready for changes.
|
COMMITTED
Indicates that all changes in a sandbox have been merged into the mainline.
|
COMMITTED_NOT_CERTIFIED
Indicates that all changes in a sandbox have been merged into the mainline
but the new baselines are not recorded due to unexpected errors.
|
INACTIVE
Indicates that a sandbox is either being created or a repository cannot be
used due to errors.
|
IRRECOVERABLE
Indicates a sandbox can no longer be used and should not be used.
|
PENDING_BRANCH
Indicates that a repository is being branched for a sandbox.
|
PENDING_DESTROY
Indicates that a sandbox or a repository is being destroyed.
|
PENDING_PUBLISH
Indicates that a sandbox is being merged into the mainline.
|
PENDING_REFRESH
Indicates that a sandbox is being merged with the changes from the
mainline.
|
PENDING_REFRESH_COMPLETE
Indicates that the "refresh" operation of a sandbox has been performed and the changes
are about to be undone or committed.
|
PENDING_REFRESH_RESUME
Indicates that the "refresh" operation of a sandbox has been suspended and waiting to
be resumed.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isPublishing(SandboxState state)
Returns
true if a state indicates that a sandbox is being
published. |
static boolean |
isRefreshing(SandboxState state)
Returns
true if a state indicates that a sandbox is being
refreshed. |
static SandboxState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SandboxState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SandboxState ACTIVE
public static final SandboxState PENDING_REFRESH
public static final SandboxState PENDING_REFRESH_RESUME
public static final SandboxState PENDING_REFRESH_COMPLETE
public static final SandboxState PENDING_PUBLISH
public static final SandboxState PENDING_BRANCH
public static final SandboxState PENDING_DESTROY
public static final SandboxState COMMITTED
public static final SandboxState COMMITTED_NOT_CERTIFIED
public static final SandboxState IRRECOVERABLE
public static final SandboxState INACTIVE
public static SandboxState[] values()
for (SandboxState c : SandboxState.values()) System.out.println(c);
public static SandboxState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean isRefreshing(SandboxState state)
true
if a state indicates that a sandbox is being
refreshed.state
- the sandbox statetrue
if the state indicates that a sandbox is being
refreshedjava.lang.NullPointerException
- if the given state is nullpublic static boolean isPublishing(SandboxState state)
true
if a state indicates that a sandbox is being
published.state
- the sandbox statetrue
if the state indicates that a sandbox is being
publishedjava.lang.NullPointerException
- if the given state is null