public static final class DXJob.Describe extends DXExecution.Describe
env| Modifier and Type | Method and Description |
|---|---|
DXApplet |
getApplet()
Returns the applet of the job if it is running an applet, or null otherwise.
|
String |
getFailureMessage()
Returns a detailed message describing why the job failed, or null if the job is not in a
failing or failed state.
|
String |
getFailureReason()
Returns a short String describing why the job failed, or null if the job is not in a
failing or failed state.
|
String |
getFunction()
Returns the name of the function (entry point) that the job is running.
|
DXJob |
getOriginJob()
Returns the closest ancestor job whose parentJob is null.
|
<T> T |
getOutput(Class<T> outputClass)
Returns the output of the job, deserialized to the specified class, or null if no output
hash is available.
|
DXContainer |
getProjectCache()
Returns the project cache container for the job if it is running an app, or null
otherwise.
|
DXContainer |
getResources()
Returns the resources container for the job if it is running an app, or null otherwise.
|
Date |
getStartDate()
Returns the date that the job started running, or null if the job has not started running
yet.
|
JobState |
getState()
Returns the state of the job.
|
List<DXJob.StateTransition> |
getStateTransitions()
Returns a list of the state transitions for the job, showing each state that the job
reached and at what time.
|
Date |
getStopDate()
Returns the date that the job stopped running, or null if the job has not stopped running
yet.
|
boolean |
isFree()
Returns whether the job will be charged to the billed entity (billTo).
|
getAnalysis, getBillTo, getCreationDate, getDetails, getExecutableName, getFolder, getId, getInput, getLaunchedBy, getModifiedDate, getName, getOriginalInput, getParentAnalysis, getParentJob, getProject, getProperties, getRootExecution, getRunInput, getStage, getTags, getTotalPrice, getWorkspace, isWorkspaceDestructionDelayedpublic DXApplet getApplet()
public String getFailureMessage()
public String getFailureReason()
public String getFunction()
public DXJob getOriginJob()
public <T> T getOutput(Class<T> outputClass)
A partial output hash is available as soon as the job reaches state "waiting_on_output". At this time the output may contain unresolved job-based object references. These references will be resolved by the time the job reaches state "done".
getOutput in class DXExecution.DescribeoutputClass - class to deserialize topublic DXContainer getProjectCache()
public DXContainer getResources()
public Date getStartDate()
public JobState getState()
public List<DXJob.StateTransition> getStateTransitions()
public Date getStopDate()
public boolean isFree()
Usually the job will be free if the job has failed for reasons (see
getFailureReason()) that are generally indicative of some system error rather
than of user error.
IllegalStateException - if the requesting user does not have permission to view the
pricing model of the billed entity (billTo), or the price of the execution has
not been finalizedCopyright © 2023. All Rights Reserved.