Package adams.multiprocess
Class JobResult
- java.lang.Object
-
- adams.multiprocess.JobResult
-
- All Implemented Interfaces:
Serializable
public class JobResult extends Object implements Serializable
The result of Job Execution. TODO: should it have parameters?- Version:
- $Revision$
- Author:
- dale (dale at cs dot waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetRetry()Should this job be retried?booleangetSuccess()Execution successful?voidsetRetry(boolean value)Set should job be retried on fail.voidsetSuccess(boolean value)Set execution successful.StringtoString()Get info string.
-
-
-
Method Detail
-
toString
public String toString()
Get info string.
-
getSuccess
public boolean getSuccess()
Execution successful?- Returns:
- success?
-
setSuccess
public void setSuccess(boolean value)
Set execution successful.- Parameters:
value- was successful?
-
getRetry
public boolean getRetry()
Should this job be retried?- Returns:
- retry job?
-
setRetry
public void setRetry(boolean value)
Set should job be retried on fail.- Parameters:
value- retry?
-
-