|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.mgmt.ServiceEvent
public class ServiceEvent
Base class for all foundation service events.
Field Summary | |
---|---|
static java.lang.String |
TYPE_SERVICE_DESTROYED
Event notification type used to indicate that a service has been destroyed. |
Constructor Summary | |
---|---|
ServiceEvent(java.lang.String notificationType,
java.lang.String serviceEntityId,
java.lang.String message,
java.io.Serializable userData)
Constructs an instance of specifying the notification type, an optional message, and optional user data. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Gets message detailing an optional description of the notification event. |
java.lang.String |
getNotificationType()
Gets the notification event's type. |
java.lang.String |
getServiceEntityId()
Gets the notification event's entity's ID. |
java.io.Serializable |
getUserData()
Gets user data that may have optionally been specified. |
java.lang.String |
toString()
Gets a string representation of this event. |
Field Detail |
---|
public static final java.lang.String TYPE_SERVICE_DESTROYED
Constructor Detail |
---|
public ServiceEvent(java.lang.String notificationType, java.lang.String serviceEntityId, java.lang.String message, java.io.Serializable userData) throws java.lang.IllegalArgumentException
notificationType
- Type of event notification.serviceEntityId
- Service's entity ID.message
- Optional message describing the event.userData
- Optional user data.
java.lang.IllegalArgumentException
- if an invalid notification type or service entity ID
is specified.Method Detail |
---|
public final java.lang.String getNotificationType()
public final java.lang.String getServiceEntityId()
public final java.lang.String getMessage()
null
if no message has been specified.public final java.io.Serializable getUserData()
null
if no user data has been specified.public final java.lang.String toString()
toString
in class java.lang.Object
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |