Class StepExecutionProgressInfoResource
java.lang.Object
org.springframework.hateoas.RepresentationModel<StepExecutionProgressInfoResource>
org.springframework.cloud.dataflow.rest.resource.StepExecutionProgressInfoResource
public class StepExecutionProgressInfoResource
extends org.springframework.hateoas.RepresentationModel<StepExecutionProgressInfoResource>
Represents the step execution progress info resource.
- Since:
- 1.0
- Author:
- Ilayaperumal Gopinathan, Glenn Renfro
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStepExecutionProgressInfoResource(org.springframework.batch.core.StepExecution stepExecution, StepExecutionHistory stepExecutionHistory, double percentageComplete, boolean isFinished, double duration) Create a new StepExecutionProgressInfoResource -
Method Summary
Modifier and TypeMethodDescriptiondoublebooleandoubleorg.springframework.batch.core.StepExecutionMethods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, equals, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hashCode, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks, toString
-
Constructor Details
-
StepExecutionProgressInfoResource
public StepExecutionProgressInfoResource() -
StepExecutionProgressInfoResource
public StepExecutionProgressInfoResource(org.springframework.batch.core.StepExecution stepExecution, StepExecutionHistory stepExecutionHistory, double percentageComplete, boolean isFinished, double duration) Create a new StepExecutionProgressInfoResource- Parameters:
stepExecution- the step execution, must not be nullstepExecutionHistory- the step execution history, must not be nullpercentageComplete- the percentage complete of the stepisFinished- whether the step execution is finishedduration- the duration of the step in milliseconds
-
-
Method Details
-
getPercentageComplete
public double getPercentageComplete() -
getFinished
public boolean getFinished() -
getDuration
public double getDuration() -
getStepExecution
public org.springframework.batch.core.StepExecution getStepExecution() -
getStepExecutionHistory
-