Package | Description |
---|---|
org.apache.sling.bgservlets | |
org.apache.sling.bgservlets.impl |
Modifier and Type | Method and Description |
---|---|
JobStatus.State[] |
JobStatus.getAllowedHumanStateChanges()
Indicate which state changes a human user can currently request,
based on our state.
|
JobStatus.State |
JobStatus.getState()
Return the job's current state
|
static JobStatus.State |
JobStatus.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus.State[] |
JobStatus.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
JobStatus.requestStateChange(JobStatus.State s)
Request a change in the job's state, which might not take effect
immediately, or even be ignored.
|
Modifier and Type | Method and Description |
---|---|
JobStatus.State[] |
SuspendableOutputStream.getAllowedHumanStateChanges() |
JobStatus.State |
SuspendableOutputStream.getState() |
Modifier and Type | Method and Description |
---|---|
void |
SuspendableOutputStream.requestStateChange(JobStatus.State s)
Only SUSPENDED, STOP, and RUNNING make sense here
|
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.