public abstract class WSGridNotificationSPI extends SPI
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JOB_STATE_ENDED
Identifies the job ended notification type.
|
static java.lang.String |
JOB_STATE_STARTED
Identifies the job started notification type.
|
static java.lang.String |
STEP_STATE_ENDED
Identifies the step ended notification type.
|
static java.lang.String |
STEP_STATE_STARTED
Identifies the step started notification type.
|
Constructor and Description |
---|
WSGridNotificationSPI() |
Modifier and Type | Method and Description |
---|---|
abstract void |
notificationReceived(java.util.Properties jobProps,
java.lang.String xdJobID,
java.lang.String notification,
int rc)
Callback method invoked by job scheduler job lifecycle events.
|
compareTo, getInvocationOrder, getName, setInvocationOrder, toString
public static final java.lang.String JOB_STATE_STARTED
Identifies the job started notification type.
public static final java.lang.String STEP_STATE_STARTED
Identifies the step started notification type.
public static final java.lang.String STEP_STATE_ENDED
Identifies the step ended notification type.
public static final java.lang.String JOB_STATE_ENDED
Identifies the job ended notification type.
public abstract void notificationReceived(java.util.Properties jobProps, java.lang.String xdJobID, java.lang.String notification, int rc)
Callback method invoked by job scheduler job lifecycle events. This method must be implemented by the WSGridNotificationSPI subclass implementor.
jobProps
- contains the properties specified in the WSGrid properties file(s) for this job.xdJobID
- specifies the job id of the job corresponding to this notification.notification
- specifies the lifecycle event that occurred for the specified job.
The event type is defined by the following constants:
rc
- specifies the step or job return code. It is defined only for notification types: