org.springframework.yarn.batch.event
Class PartitionedStepExecutionEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.yarn.event.AbstractYarnEvent
org.springframework.yarn.batch.event.PartitionedStepExecutionEvent
- All Implemented Interfaces:
- Serializable
public class PartitionedStepExecutionEvent
- extends org.springframework.yarn.event.AbstractYarnEvent
Generic event representing that partitioned StepExecution state
has been changed.
- Author:
- Janne Valkealahti
- See Also:
- Serialized Form
PartitionedStepExecutionEvent
public PartitionedStepExecutionEvent(Object source,
StepExecution stepExecution)
- Constructs event with the given
StepExecution.
- Parameters:
source - the component that published the event (never null)stepExecution - the Step execution
getStepExecution
public StepExecution getStepExecution()
- Gets the step execution for this event.
- Returns:
- the step execution
toString
public String toString()
- Overrides:
toString in class EventObject