Class ProcessResult

java.lang.Object
org.apache.openmeetings.util.process.ProcessResult

public class ProcessResult extends 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 Details

    • ZERO

      public static final Integer ZERO
  • Constructor Details

    • ProcessResult

      public ProcessResult()
    • ProcessResult

      public ProcessResult(String error)
    • ProcessResult

      public ProcessResult(String process, String error, Exception ex)
  • Method Details

    • getOut

      public String getOut()
    • setOut

      public ProcessResult setOut(String out)
    • getCommand

      public String getCommand()
    • setCommand

      public ProcessResult setCommand(String command)
    • getProcess

      public String getProcess()
    • setProcess

      public ProcessResult setProcess(String process)
    • getException

      public String getException()
    • setException

      public void setException(String exception)
    • getError

      public String getError()
    • setError

      public ProcessResult setError(String error)
    • getExitCode

      public Integer getExitCode()
    • setExitCode

      public ProcessResult setExitCode(Integer exitCode)
    • isOptional

      public boolean isOptional()
    • setOptional

      public ProcessResult setOptional(boolean optional)
    • isOk

      public boolean isOk()
    • isWarn

      public boolean isWarn()
    • buildLogMessage

      public String buildLogMessage()