Package com.morpheusdata.model
Class TaskResult
java.lang.Object
com.morpheusdata.model.TaskResult
Result of task execution. These results are displayed in the Morpheus task execution UI
-
Field Summary
Modifier and TypeFieldDescriptioncustom options derived from the Task OptionTypesthe input data supplied to the taskerror messageexit status of the processdescription of the execution resultoptional task outputIn the event that a Task has subtasks, one or more result objects may be returnedwhether the task execution was successful or not -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
getError()
getMsg()
void
setCustomOptions
(Map customOptions) void
void
void
setExitCode
(String exitCode) void
void
void
setResults
(List results) void
setSuccess
(Boolean success) toMap()
-
Field Details
-
success
whether the task execution was successful or not -
data
the input data supplied to the task -
output
optional task output -
exitCode
exit status of the process -
msg
description of the execution result -
error
error message -
results
In the event that a Task has subtasks, one or more result objects may be returned -
customOptions
custom options derived from the Task OptionTypes
-
-
Constructor Details
-
TaskResult
public TaskResult()
-
-
Method Details
-
toMap
- Returns:
- hash map of TaskResult properties and values
-
getSuccess
-
setSuccess
-
getData
-
setData
-
getOutput
-
setOutput
-
getExitCode
-
setExitCode
-
getMsg
-
setMsg
-
getError
-
setError
-
getResults
-
setResults
-
getCustomOptions
-
setCustomOptions
-