public class FailTaskConditionally extends JavaExecutable
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE |
execInitializer
Constructor and Description |
---|
FailTaskConditionally() |
Modifier and Type | Method and Description |
---|---|
Serializable |
execute(TaskResult... results)
The content of this method will be executed once after being scheduled.
This may generate a result as an Object . |
getAllNodesURL, getErr, getGlobalSpace, getInputSpace, getIterationIndex, getLocalSpace, getMetadata, getNodesURL, getOut, getOutputSpace, getProgress, getReplicationIndex, getResultMap, getSignalAPI, getSynchronizationAPI, getThirdPartyCredential, getUserSpace, getVariables, init, initAPIs, initDataSpaces, initMetadata, initResultMap, internalInit, setProgress, setVariables
public static final String EXCEPTION_MESSAGE
public Serializable execute(TaskResult... results) throws Throwable
JavaExecutable
Object
. It can be whatever you want.execute
in class JavaExecutable
results
- the results (as a taskResult) from parent tasks.Throwable
- any exception thrown by the user's code