public abstract static class SandboxUpdateState.Condition
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static SandboxUpdateState.Condition |
INCOMPLETE
Indicates that the update is incomplete; in other words, it either
failed, was interrupted, has not been started, or is still in progress.
|
| Constructor and Description |
|---|
Condition() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
eval(java.lang.String state)
Returns
true if the condition is met. |
abstract java.lang.String |
sql(java.lang.String stateColumn)
Returns the condition in SQL such as "='STATE1'", "like 'STATE1%'" or
"in ('STATE1','STATE2')".
|
public static final SandboxUpdateState.Condition INCOMPLETE
public abstract boolean eval(java.lang.String state)
true if the condition is met.state - the sandbox update state that determines if the condition
is mettrue if the condition is metjava.lang.NullPointerException - if the given state is nullpublic abstract java.lang.String sql(java.lang.String stateColumn)
stateColumn - the alias of the state column