Class ProcessResultList
- java.lang.Object
-
- org.apache.openmeetings.util.process.ProcessResultList
-
public class ProcessResultList extends Object
Collects all results of conversion jobs- Author:
- sebawagner
-
-
Constructor Summary
Constructors Constructor Description ProcessResultList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(ProcessResult res)List<ProcessResult>getJobs()ProcessResultgetLast()StringgetLogMessage()converts all job results into a human readable formatbooleanhasError()checks if process was successfulintsize()
-
-
-
Method Detail
-
add
public void add(ProcessResult res)
-
getLast
public ProcessResult getLast()
-
hasError
public boolean hasError()
checks if process was successful- Returns:
- true if there was an job with exitValue "-1"
-
getLogMessage
public String getLogMessage()
converts all job results into a human readable format- Returns:
- - string representation of the job
-
size
public int size()
-
getJobs
public List<ProcessResult> getJobs()
-
-