Class StepExecutionResource
java.lang.Object
org.springframework.hateoas.RepresentationModel<StepExecutionResource>
org.springframework.cloud.dataflow.rest.resource.StepExecutionResource
public class StepExecutionResource
extends org.springframework.hateoas.RepresentationModel<StepExecutionResource>
- Author:
- Glenn Renfro
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionStepExecutionResource
(Long jobExecutionId, org.springframework.batch.core.StepExecution stepExecution, String stepType) Create a new StepExecutionResource -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.batch.core.StepExecution
Methods 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
-
StepExecutionResource
public StepExecutionResource(Long jobExecutionId, org.springframework.batch.core.StepExecution stepExecution, String stepType) Create a new StepExecutionResource- Parameters:
jobExecutionId
- the job execution id, must not be nullstepExecution
- the step execution, must not be nullstepType
- the step type
-
-
Method Details
-
getJobExecutionId
- Returns:
- The jobExecutionId, which will never be null
-
getStepExecution
public org.springframework.batch.core.StepExecution getStepExecution()- Returns:
- The stepExecution, which will never be null
-
getStepType
-