org.jmonks.batch.framework.management
Class JobNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
org.jmonks.batch.framework.management.JobNotification
- All Implemented Interfaces:
- java.io.Serializable
- public class JobNotification
- extends javax.management.Notification
Notification to send the specified job information and define the various
notification types.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Suresh Pragada
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
JOB_FINISHED
Notification type specifies that the job got finished. |
Fields inherited from class javax.management.Notification |
source |
Constructor Summary |
JobNotification(java.lang.String jobName,
java.lang.String type,
java.lang.Object source,
java.lang.String message)
Creates a new instance of JobNotification |
Method Summary |
java.lang.String |
getJobName()
Gets the job name; |
java.lang.String |
toString()
Returns the string representation of JobNotification class in the format
{JobNotification [jobName = value] [rest = value] }
|
Methods inherited from class javax.management.Notification |
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData |
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 |
JOB_FINISHED
public static final java.lang.String JOB_FINISHED
- Notification type specifies that the job got finished.
- See Also:
- Constant Field Values
JobNotification
public JobNotification(java.lang.String jobName,
java.lang.String type,
java.lang.Object source,
java.lang.String message)
- Creates a new instance of JobNotification
getJobName
public java.lang.String getJobName()
- Gets the job name;
toString
public java.lang.String toString()
Returns the string representation of JobNotification class in the format
{JobNotification [jobName = value] [rest = value] }
- Returns:
- Returns the string representation of JobNotification.