Package com.evolveum.midpoint.task.api
Class TaskRunResult
- java.lang.Object
-
- com.evolveum.midpoint.task.api.TaskRunResult
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TaskWorkBucketProcessingResult
public class TaskRunResult extends Object implements Serializable
Single-purpose class to return task run results. More than one value is returned, therefore it is bundled into a class.- Author:
- Radovan Semancik
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TaskRunResult.TaskRunResultStatus
-
Field Summary
Fields Modifier and Type Field Description protected OperationResult
operationResult
protected Long
progress
protected TaskRunResult.TaskRunResultStatus
runResultStatus
-
Constructor Summary
Constructors Constructor Description TaskRunResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
OperationResult
getOperationResult()
Long
getProgress()
TaskRunResult.TaskRunResultStatus
getRunResultStatus()
int
hashCode()
void
setOperationResult(OperationResult operationResult)
void
setProgress(Long progress)
void
setRunResultStatus(TaskRunResult.TaskRunResultStatus status)
String
toString()
-
-
-
Field Detail
-
progress
protected Long progress
-
runResultStatus
protected TaskRunResult.TaskRunResultStatus runResultStatus
-
operationResult
protected OperationResult operationResult
-
-
Method Detail
-
getProgress
public Long getProgress()
- Returns:
- the progress
-
setProgress
public void setProgress(Long progress)
- Parameters:
progress
- the progress to set
-
getRunResultStatus
public TaskRunResult.TaskRunResultStatus getRunResultStatus()
- Returns:
- the status
-
setRunResultStatus
public void setRunResultStatus(TaskRunResult.TaskRunResultStatus status)
- Parameters:
status
- the status to set
-
getOperationResult
public OperationResult getOperationResult()
-
setOperationResult
public void setOperationResult(OperationResult operationResult)
-
-