Class ProcessLog

java.lang.Object
org.tasktide.core.model.task.ProcessLog

@Embeddable public class ProcessLog extends Object
Model class to hold standard error and out logs
  • Constructor Details

    • ProcessLog

      public ProcessLog()
      Null constructor
    • ProcessLog

      public ProcessLog(String[] stdout, String[] stderr)
      Construct with all data for builder
      Parameters:
      stdout -
      stderr -
    • ProcessLog

      public ProcessLog(String procLogId, String[] stdout, String[] stderr)
      Constructor for JSON Deserialization
      Parameters:
      procLogId -
      stdout -
      stderr -
  • Method Details

    • getId

      public String getId()
      Get Id
      Returns:
      String
    • setId

      public void setId(String procLogId)
      Set Id
      Parameters:
      procLogId -
    • getStdout

      public String[] getStdout()
      Get stdout
      Returns:
      String[]
    • setStdout

      public void setStdout(String[] stdout)
      Set the stdout
      Parameters:
      stdout -
    • getStderr

      public String[] getStderr()
      Get stderr log
      Returns:
      String[]
    • setStderr

      public void setStderr(String[] stderr)
      Set the stderr log
      Parameters:
      stderr -
    • toString

      public String toString()
      Represent as string
      Overrides:
      toString in class Object
      Returns:
      String
    • toJsonString

      public String toJsonString()
      Serialize to JSON string
      Returns:
      String
    • toJsonDoc

      public String toJsonDoc()
      Serialize to a human readable formatted JSON string
      Returns:
      String