com.ibm.websphere.management.application
Class AppNotificationjava.lang.Object | +--com.ibm.websphere.management.application.AppNotification
- All Implemented Interfaces:
- java.io.Serializable
- public class AppNotification
- extends java.lang.Object
- implements java.io.Serializable
AppNotification class defines the event data passed back by AppManagement implementation during asynchronous operations such installation or uninstallation. When AppManagement implementation runs in local mode an AppNotification instance is passed to the caller via appEventReceived callback of the Listener interface. In JMX mode the AppManagement implementation passes AppNotification instance as user data for JMX event.
- See Also:
- Serialized Form
Nested Class Summary static interface AppNotification.Listener
An implementation of Listener interface is used by the clients that invoke install/uninstall functions of AppManagement in local mode.
Field Summary static java.lang.String EDIT
static java.lang.String INSTALL
java.lang.String message
Detailed message for the app taskjava.util.Properties props
Properties of the app taskstatic java.lang.String STATUS_COMPLETED
static java.lang.String STATUS_FAILED
static java.lang.String STATUS_INPROGRESS
java.lang.String subtaskName
Name of the app subtaskjava.lang.String subtaskStatus
Status of the app sub askjava.lang.String taskName
Name of the app taskjava.lang.String taskStatus
Status of the app taskstatic java.lang.String UNINSTALL
Constructor Summary AppNotification(java.lang.String tName, java.lang.String sName, java.lang.String st, java.lang.String sst, java.lang.String msg)
AppNotification(java.lang.String tName, java.lang.String sName, java.lang.String st, java.lang.String sst, java.lang.String msg, java.util.Properties p)
Creates a new notifier instance.
Method Summary void setProperties(java.util.Properties p)
java.lang.String toString()
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Field Detail INSTALL
public static final java.lang.String INSTALL
- See Also:
- Constant Field Values
UNINSTALL
public static final java.lang.String UNINSTALL
- See Also:
- Constant Field Values
EDIT
public static final java.lang.String EDIT
- See Also:
- Constant Field Values
STATUS_INPROGRESS
public static final java.lang.String STATUS_INPROGRESS
- See Also:
- Constant Field Values
STATUS_COMPLETED
public static final java.lang.String STATUS_COMPLETED
- See Also:
- Constant Field Values
STATUS_FAILED
public static final java.lang.String STATUS_FAILED
- See Also:
- Constant Field Values
taskName
public java.lang.String taskName
- Name of the app task
subtaskName
public java.lang.String subtaskName
- Name of the app subtask
taskStatus
public java.lang.String taskStatus
- Status of the app task
subtaskStatus
public java.lang.String subtaskStatus
- Status of the app sub ask
message
public java.lang.String message
- Detailed message for the app task
props
public java.util.Properties props
- Properties of the app task
Constructor Detail AppNotification
public AppNotification(java.lang.String tName, java.lang.String sName, java.lang.String st, java.lang.String sst, java.lang.String msg, java.util.Properties p)
- Creates a new notifier instance.
- Parameters:
- tName - Name of the task
- sName - Name of the subtask
- st - Task status
- sst - subtask status
- msg - Detailed task message
- p - properties of task
AppNotification
public AppNotification(java.lang.String tName, java.lang.String sName, java.lang.String st, java.lang.String sst, java.lang.String msg)
Method Detail toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
setProperties
public void setProperties(java.util.Properties p)
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.