Class 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 OptionTypes
      java.lang.Object data
      the input data supplied to the task
      java.lang.String error
      error message
      java.lang.String exitCode
      exit status of the process
      java.lang.String msg
      description of the execution result
      java.lang.String output
      optional task output
      java.util.List results
      In the event that a Task has subtasks, one or more result objects may be returned
      java.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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • TaskResult

        public TaskResult()
    • Method Detail

      • toMap

        public java.util.Map toMap()
        Returns:
        hash map of TaskResult properties and values