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
  • 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 null
      stepExecutionHistory - the step execution history, must not be null
      percentageComplete - the percentage complete of the step
      isFinished - whether the step execution is finished
      duration - 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

      public StepExecutionHistory getStepExecutionHistory()