Class ProcessResult


  • public class ProcessResult
    extends java.lang.Object
    Object created by each conversion step, each conversion step that invokes and external tool like ImageMagick is one single ConverterProcessMessage if exitValue equals "-1" then there was an issue.
    Author:
    sebawagner
    • Field Detail

      • ZERO

        public static final java.lang.Integer ZERO
    • Constructor Detail

      • ProcessResult

        public ProcessResult()
      • ProcessResult

        public ProcessResult​(java.lang.String error)
      • ProcessResult

        public ProcessResult​(java.lang.String process,
                             java.lang.String error,
                             java.lang.Exception ex)
    • Method Detail

      • getOut

        public java.lang.String getOut()
      • getCommand

        public java.lang.String getCommand()
      • setCommand

        public ProcessResult setCommand​(java.lang.String command)
      • getProcess

        public java.lang.String getProcess()
      • setProcess

        public ProcessResult setProcess​(java.lang.String process)
      • getException

        public java.lang.String getException()
      • setException

        public void setException​(java.lang.String exception)
      • getError

        public java.lang.String getError()
      • setError

        public ProcessResult setError​(java.lang.String error)
      • getExitCode

        public java.lang.Integer getExitCode()
      • setExitCode

        public ProcessResult setExitCode​(java.lang.Integer exitCode)
      • isOptional

        public boolean isOptional()
      • setOptional

        public ProcessResult setOptional​(boolean optional)
      • isOk

        public boolean isOk()
      • isWarn

        public boolean isWarn()
      • buildLogMessage

        public java.lang.String buildLogMessage()