public class StepExecutionProgressInfoResource
extends org.springframework.hateoas.ResourceSupport
| Constructor and Description |
|---|
StepExecutionProgressInfoResource() |
StepExecutionProgressInfoResource(org.springframework.batch.core.StepExecution stepExecution,
org.springframework.batch.admin.history.StepExecutionHistory stepExecutionHistory,
double percentageComplete,
boolean isFinished,
double duration) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDuration() |
boolean |
getFinished() |
double |
getPercentageComplete() |
org.springframework.batch.core.StepExecution |
getStepExecution() |
org.springframework.batch.admin.history.StepExecutionHistory |
getStepExecutionHistory() |
public StepExecutionProgressInfoResource()
public StepExecutionProgressInfoResource(org.springframework.batch.core.StepExecution stepExecution,
org.springframework.batch.admin.history.StepExecutionHistory stepExecutionHistory,
double percentageComplete,
boolean isFinished,
double duration)
stepExecution - Must not be nullstepExecutionHistory - Must not be nullpublic double getPercentageComplete()
public boolean getFinished()
public double getDuration()
public org.springframework.batch.core.StepExecution getStepExecution()
public org.springframework.batch.admin.history.StepExecutionHistory getStepExecutionHistory()