public class StepExecutionProgressInfoResource
extends org.springframework.hateoas.ResourceSupport
| 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) |
| 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 - Must not be nullstepExecutionHistory - Must not be nullpublic double getPercentageComplete()
public boolean getFinished()
public double getDuration()
public org.springframework.batch.core.StepExecution getStepExecution()
public StepExecutionHistory getStepExecutionHistory()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.