Class ProcessResult
java.lang.Object
org.apache.openmeetings.util.process.ProcessResult
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProcessResult(String error) ProcessResult(String process, String error, Exception ex) -
Method Summary
Modifier and TypeMethodDescriptiongetError()getOut()booleanisOk()booleanbooleanisWarn()setCommand(String command) voidsetException(String exception) setExitCode(Integer exitCode) setOptional(boolean optional) setProcess(String process)
-
Field Details
-
ZERO
-
-
Constructor Details
-
ProcessResult
public ProcessResult() -
ProcessResult
-
ProcessResult
-
-
Method Details
-
getOut
-
setOut
-
getCommand
-
setCommand
-
getProcess
-
setProcess
-
getException
-
setException
-
getError
-
setError
-
getExitCode
-
setExitCode
-
isOptional
public boolean isOptional() -
setOptional
-
isOk
public boolean isOk() -
isWarn
public boolean isWarn() -
buildLogMessage
-