public class TaskStep extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Throwable |
errorMessage |
protected float |
progress |
protected WorkerResult |
result |
protected WorkerStatus |
status |
| Modifier | Constructor and Description |
|---|---|
protected |
TaskStep() |
|
TaskStep(OperationExecution execution,
TaskStepClassifier classifier) |
| Modifier and Type | Method and Description |
|---|---|
TaskStepClassifier |
getClassifier() |
Throwable |
getError() |
float |
getProgress() |
WorkerResult |
getResult() |
OperationExecution |
getSourceInvocation() |
WorkerStatus |
getStatus() |
void |
setClassifier(TaskStepClassifier classifier) |
void |
setError(Throwable error) |
void |
setProgress(float progress) |
void |
setResult(WorkerResult result) |
void |
setSourceInvocation(OperationExecution sourceInvocation) |
void |
setStatus(WorkerStatus status) |
String |
toString() |
protected WorkerResult result
protected WorkerStatus status
protected float progress
protected Throwable errorMessage
protected TaskStep()
public TaskStep(OperationExecution execution, TaskStepClassifier classifier)
public WorkerResult getResult()
public void setResult(WorkerResult result)
result - the result to setpublic WorkerStatus getStatus()
public void setStatus(WorkerStatus status)
status - the status to setpublic OperationExecution getSourceInvocation()
public void setSourceInvocation(OperationExecution sourceInvocation)
sourceInvocation - the sourceInvocation to setpublic TaskStepClassifier getClassifier()
public void setClassifier(TaskStepClassifier classifier)
classifier - the classifier to setpublic float getProgress()
public void setProgress(float progress)
progress - the progress to setpublic Throwable getError()
public void setError(Throwable error)
error - the error to setCopyright © 2014. All Rights Reserved.