public class StepExecutionProgressInfoResource extends org.springframework.hateoas.RepresentationModel<StepExecutionProgressInfoResource>
Modifier and Type | Class and Description |
---|---|
static class |
StepExecutionProgressInfoResource.Page |
Constructor and Description |
---|
StepExecutionProgressInfoResource() |
StepExecutionProgressInfoResource(org.springframework.batch.core.StepExecution stepExecution,
StepExecutionHistory stepExecutionHistory,
double percentageComplete,
boolean isFinished,
double duration)
Create a new StepExecutionProgressInfoResource
|
Modifier and Type | Method and Description |
---|---|
double |
getDuration() |
boolean |
getFinished() |
double |
getPercentageComplete() |
org.springframework.batch.core.StepExecution |
getStepExecution() |
StepExecutionHistory |
getStepExecutionHistory() |
public StepExecutionProgressInfoResource()
public StepExecutionProgressInfoResource(org.springframework.batch.core.StepExecution stepExecution, StepExecutionHistory stepExecutionHistory, double percentageComplete, boolean isFinished, double duration)
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 millisecondspublic double getPercentageComplete()
public boolean getFinished()
public double getDuration()
public org.springframework.batch.core.StepExecution getStepExecution()
public StepExecutionHistory getStepExecutionHistory()
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.