Package io.digdag.spi

Interface CommandStatus


  • public interface CommandStatus
    • Method Detail

      • isFinished

        boolean isFinished()
        Check command is finished or not.
        Returns:
      • getStatusCode

        int getStatusCode()
        Return exit code of command finished. It is valid only when isFinished returns true.
        Returns:
      • getErrorMessage

        default com.google.common.base.Optional<java.lang.String> getErrorMessage()
        Return error message.
        Returns:
      • getIoDirectory

        java.lang.String getIoDirectory()
        Return the same String with CommandRequest.getIoDirectory.
        Returns:
      • toJson

        com.fasterxml.jackson.databind.node.ObjectNode toJson()