Package com.morpheusdata.model
Class TaskResult
- java.lang.Object
-
- com.morpheusdata.model.TaskResult
-
public class TaskResult extends java.lang.Object
Result of task execution. These results are displayed in the Morpheus task execution UI
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Map
customOptions
custom options derived from the Task OptionTypesjava.lang.Object
data
the input data supplied to the taskjava.lang.String
error
error messagejava.lang.String
exitCode
exit status of the processjava.lang.String
msg
description of the execution resultjava.lang.String
output
optional task outputjava.util.List
results
In the event that a Task has subtasks, one or more result objects may be returnedjava.lang.Boolean
success
whether the task execution was successful or not
-
Constructor Summary
Constructors Constructor Description TaskResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map
toMap()
-
-
-
Field Detail
-
success
public java.lang.Boolean success
whether the task execution was successful or not
-
data
public java.lang.Object data
the input data supplied to the task
-
output
public java.lang.String output
optional task output
-
exitCode
public java.lang.String exitCode
exit status of the process
-
msg
public java.lang.String msg
description of the execution result
-
error
public java.lang.String error
error message
-
results
public java.util.List results
In the event that a Task has subtasks, one or more result objects may be returned
-
customOptions
public java.util.Map customOptions
custom options derived from the Task OptionTypes
-
-