public interface JobStatus
Modifier and Type | Interface and Description |
---|---|
static class |
JobStatus.State |
Modifier and Type | Field and Description |
---|---|
static String |
STREAM_PATH_SUFFIX
Suffix used to build the job's stream path
|
Modifier and Type | Method and Description |
---|---|
JobStatus.State[] |
getAllowedHumanStateChanges()
Indicate which state changes a human user can currently request,
based on our state.
|
Date |
getCreationTime()
Return the job's creation time
|
String |
getPath()
Path of the Resource that describes this job
|
JobProgressInfo |
getProgressInfo()
Return the job's progress info
|
JobStatus.State |
getState()
Return the job's current state
|
String |
getStreamPath()
Full Path of the job's stream, including extension
|
void |
requestStateChange(JobStatus.State s)
Request a change in the job's state, which might not take effect
immediately, or even be ignored.
|
static final String STREAM_PATH_SUFFIX
JobStatus.State getState()
Date getCreationTime()
void requestStateChange(JobStatus.State s)
JobStatus.State[] getAllowedHumanStateChanges()
String getPath()
String getStreamPath()
JobProgressInfo getProgressInfo()
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.