public abstract class NotificationConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NOTIFICATION_PROPERTY_JOB_ID
Property containing the unique job ID.
|
static String |
NOTIFICATION_PROPERTY_JOB_TOPIC
Property containing the job topic.
|
static String |
TOPIC_JOB_ADDED
Asynchronous notification event when a job is added.
|
static String |
TOPIC_JOB_CANCELLED
Asynchronous notification event when a job is cancelled.
|
static String |
TOPIC_JOB_FAILED
Asynchronous notification event when a job failed.
|
static String |
TOPIC_JOB_FINISHED
Asynchronous notification event when a job is finished.
|
static String |
TOPIC_JOB_REMOVED
Asynchronous notification event when a job is permanently removed.
|
static String |
TOPIC_JOB_STARTED
Asynchronous notification event when a job is started.
|
public static final String TOPIC_JOB_STARTED
NOTIFICATION_PROPERTY_JOB_TOPIC
contains the job topic,
the property NOTIFICATION_PROPERTY_JOB_ID
contains the unique job id.
The time stamp of the event (as a Long) is available from the property
EventConstants.TIMESTAMP
.
The payload of the job is available as additional job specific properties.public static final String TOPIC_JOB_FINISHED
NOTIFICATION_PROPERTY_JOB_TOPIC
contains the job topic,
the property NOTIFICATION_PROPERTY_JOB_ID
contains the unique job id.
The time stamp of the event (as a Long) is available from the property
EventConstants.TIMESTAMP
.
The payload of the job is available as additional job specific properties.public static final String TOPIC_JOB_FAILED
NOTIFICATION_PROPERTY_JOB_TOPIC
contains the job topic,
the property NOTIFICATION_PROPERTY_JOB_ID
contains the unique job id.
The time stamp of the event (as a Long) is available from the property
EventConstants.TIMESTAMP
.
The payload of the job is available as additional job specific properties.public static final String TOPIC_JOB_CANCELLED
NOTIFICATION_PROPERTY_JOB_TOPIC
contains the job topic,
the property NOTIFICATION_PROPERTY_JOB_ID
contains the unique job id.
The time stamp of the event (as a Long) is available from the property
EventConstants.TIMESTAMP
.
The payload of the job is available as additional job specific properties.public static final String TOPIC_JOB_REMOVED
NOTIFICATION_PROPERTY_JOB_TOPIC
contains the job topic,
the property NOTIFICATION_PROPERTY_JOB_ID
contains the unique job id.
The payload of the job is available as additional job specific properties.public static final String TOPIC_JOB_ADDED
NOTIFICATION_PROPERTY_JOB_TOPIC
contains the job topic,
the property NOTIFICATION_PROPERTY_JOB_ID
contains the unique job id.public static final String NOTIFICATION_PROPERTY_JOB_TOPIC
Job.getTopic()
,
Constant Field Valuespublic static final String NOTIFICATION_PROPERTY_JOB_ID
Job.getId()
,
Constant Field ValuesCopyright © 2015 The Apache Software Foundation. All rights reserved.