Spring for Apache Hadoop

org.springframework.yarn.batch.event
Class PartitionedStepExecutionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.yarn.event.AbstractYarnEvent
              extended by org.springframework.yarn.batch.event.PartitionedStepExecutionEvent
All Implemented Interfaces:
java.io.Serializable

public class PartitionedStepExecutionEvent
extends AbstractYarnEvent

Generic event representing that partitioned StepExecution state has been changed.

Author:
Janne Valkealahti
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PartitionedStepExecutionEvent(java.lang.Object source, org.springframework.batch.core.StepExecution stepExecution)
          Constructs event with the given StepExecution.
 
Method Summary
 org.springframework.batch.core.StepExecution getStepExecution()
          Gets the step execution for this event.
 java.lang.String toString()
           
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartitionedStepExecutionEvent

public PartitionedStepExecutionEvent(java.lang.Object source,
                                     org.springframework.batch.core.StepExecution stepExecution)
Constructs event with the given StepExecution.

Parameters:
source - the component that published the event (never null)
stepExecution - the Step execution
Method Detail

getStepExecution

public org.springframework.batch.core.StepExecution getStepExecution()
Gets the step execution for this event.

Returns:
the step execution

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

Spring for Apache Hadoop