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
-
Constructor Summary
ConstructorDescriptionProcessResult
(String error) ProcessResult
(String process, String error, Exception ex) -
Method Summary
Modifier and TypeMethodDescriptiongetError()
getOut()
boolean
isOk()
boolean
boolean
isWarn()
setCommand
(String command) void
setException
(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
-