SMILA (incubation) API documentation

org.eclipse.smila.jobmanager.events
Class PrepareToFinishEvent

java.lang.Object
  extended by org.eclipse.smila.jobmanager.events.PrepareToFinishEvent
All Implemented Interfaces:
JobEvent

public class PrepareToFinishEvent
extends java.lang.Object
implements JobEvent

Event sent by the jobmanager in preparation of finishing a job. Please note that more then one event might be received for one job run if two JobManagers try to concurrently finish the same job run.


Constructor Summary
PrepareToFinishEvent(java.lang.String jobName, java.lang.String jobRunId)
          Constructor for PrepareToFinishEvent.
 
Method Summary
 java.lang.String getJobName()
          Returns the name of the job this event is referring to.
 java.lang.String getJobRunId()
          Returns the job run id of the job to be finished.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrepareToFinishEvent

public PrepareToFinishEvent(java.lang.String jobName,
                            java.lang.String jobRunId)
Constructor for PrepareToFinishEvent.

Parameters:
jobName - the name of the job to be finished.
jobRunId - the jon run id of the job to be finished.
Method Detail

getJobName

public java.lang.String getJobName()
Returns the name of the job this event is referring to.

Specified by:
getJobName in interface JobEvent
Returns:
the name of the job this event is referring to.

getJobRunId

public java.lang.String getJobRunId()
Returns the job run id of the job to be finished.

Returns:
the job run id of the job to be finished.

SMILA (incubation) API documentation