com.ibm.websphere.management.application
Class AppNotification
- java.lang.Object
-
- com.ibm.websphere.management.application.AppNotification
-
- All Implemented Interfaces:
- java.io.Serializable
public class AppNotification extends java.lang.Object implements java.io.SerializableAppNotification 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
Nested Classes Modifier and Type Class and Description static interfaceAppNotification.ListenerAn implementation of Listener interface is used by the clients that invoke install/uninstall functions of AppManagement in local mode.
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringAPP_SYNCjava.lang.ThrowablecauseOfFailureThe java.lang.Throwable which was caught, resulting in the failure.static java.lang.StringDISTRIBUTIONstatic java.lang.StringDISTRIBUTION_DONEstatic java.lang.StringDISTRIBUTION_NOT_DONEstatic java.lang.StringDISTRIBUTION_STATUSstatic java.lang.StringDISTRIBUTION_STATUS_COMPOSITEstatic java.lang.StringDISTRIBUTION_STATUS_NODEstatic java.lang.StringDISTRIBUTION_UNKNOWNstatic java.lang.StringEDITstatic java.lang.StringEXPANSION_ERRORstatic java.lang.StringEXPANSION_INPROGRESSstatic java.lang.StringEXPANSION_NOT_PROCESSINGstatic java.lang.StringEXPANSION_SKIPPEDstatic java.lang.StringEXPANSION_STATUSstatic java.lang.StringEXPANSION_UNKNOWNstatic java.lang.StringINSTALLstatic java.lang.StringINSTALL_SYNCjava.lang.StringmessageDetailed message for the app taskstatic java.lang.StringNODESYNC_COMPLETEstatic java.lang.StringNODESYNC_FAILEDstatic java.lang.StringNODESYNC_INITjava.util.PropertiespropsProperties of the app taskstatic java.lang.StringRENAME_APPstatic java.lang.StringSERVER_START_FAILEDstatic java.lang.StringSERVER_STARTEDstatic java.lang.StringSERVER_STARTINGstatic java.lang.StringSERVER_STOP_FAILEDstatic java.lang.StringSERVER_STOPPEDstatic java.lang.StringSERVER_STOPPINGstatic java.lang.StringSTATUS_COMPLETEDstatic java.lang.StringSTATUS_FAILEDstatic java.lang.StringSTATUS_INPROGRESSstatic java.lang.StringSTATUS_WARNINGjava.lang.StringsubtaskNameName of the app subtaskjava.lang.StringsubtaskStatusStatus of the app sub askjava.lang.StringtaskNameName of the app taskjava.lang.StringtaskStatusStatus of the app taskstatic java.lang.StringUNINSTALLstatic java.lang.StringUNINSTALL_SYNCstatic java.lang.StringUPDATEstatic java.lang.StringUPDATE_CLUSTERstatic java.lang.StringUPDATE_COMPLETEDstatic java.lang.StringUPDATE_FAILEDstatic java.lang.StringUPDATE_INITIATEDstatic java.lang.StringUPDATE_SYNC
-
Constructor Summary
Constructors Constructor and Description AppNotification(java.lang.String taskName, java.lang.String subtaskName, java.lang.String taskStatus, java.lang.String subtaskStatus, java.lang.String taskMessage)AppNotification(java.lang.String taskName, java.lang.String subtaskName, java.lang.String taskStatus, java.lang.String subtaskStatus, java.lang.String taskMessage, java.util.Properties taskProperties)Creates a new notifier instance.AppNotification(java.lang.String taskName, java.lang.String subtaskName, java.lang.String taskStatus, java.lang.String subtaskStatus, java.lang.String taskMessage, java.util.Properties taskProperties, java.lang.Throwable causeOfFailure)Creates a new notifier instance.
-
Method Summary
Methods Modifier and Type Method and Description voidsetProperties(java.util.Properties p)java.lang.StringtoString()
-
-
-
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
-
UPDATE
public static final java.lang.String UPDATE
- See Also:
- Constant Field Values
-
EDIT
public static final java.lang.String EDIT
- See Also:
- Constant Field Values
-
UPDATE_CLUSTER
public static final java.lang.String UPDATE_CLUSTER
- See Also:
- Constant Field Values
-
RENAME_APP
public static final java.lang.String RENAME_APP
- 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
-
STATUS_WARNING
public static final java.lang.String STATUS_WARNING
- See Also:
- Constant Field Values
-
UPDATE_SYNC
public static final java.lang.String UPDATE_SYNC
- See Also:
- Constant Field Values
-
INSTALL_SYNC
public static final java.lang.String INSTALL_SYNC
- See Also:
- Constant Field Values
-
UNINSTALL_SYNC
public static final java.lang.String UNINSTALL_SYNC
- See Also:
- Constant Field Values
-
APP_SYNC
public static final java.lang.String APP_SYNC
- See Also:
- Constant Field Values
-
UPDATE_INITIATED
public static final java.lang.String UPDATE_INITIATED
- See Also:
- Constant Field Values
-
UPDATE_COMPLETED
public static final java.lang.String UPDATE_COMPLETED
- See Also:
- Constant Field Values
-
UPDATE_FAILED
public static final java.lang.String UPDATE_FAILED
- See Also:
- Constant Field Values
-
SERVER_STOPPING
public static final java.lang.String SERVER_STOPPING
- See Also:
- Constant Field Values
-
SERVER_STOPPED
public static final java.lang.String SERVER_STOPPED
- See Also:
- Constant Field Values
-
SERVER_STOP_FAILED
public static final java.lang.String SERVER_STOP_FAILED
- See Also:
- Constant Field Values
-
NODESYNC_INIT
public static final java.lang.String NODESYNC_INIT
- See Also:
- Constant Field Values
-
NODESYNC_COMPLETE
public static final java.lang.String NODESYNC_COMPLETE
- See Also:
- Constant Field Values
-
NODESYNC_FAILED
public static final java.lang.String NODESYNC_FAILED
- See Also:
- Constant Field Values
-
SERVER_STARTING
public static final java.lang.String SERVER_STARTING
- See Also:
- Constant Field Values
-
SERVER_STARTED
public static final java.lang.String SERVER_STARTED
- See Also:
- Constant Field Values
-
SERVER_START_FAILED
public static final java.lang.String SERVER_START_FAILED
- See Also:
- Constant Field Values
-
DISTRIBUTION_STATUS_NODE
public static final java.lang.String DISTRIBUTION_STATUS_NODE
- See Also:
- Constant Field Values
-
DISTRIBUTION_STATUS_COMPOSITE
public static final java.lang.String DISTRIBUTION_STATUS_COMPOSITE
- See Also:
- Constant Field Values
-
DISTRIBUTION_DONE
public static final java.lang.String DISTRIBUTION_DONE
- See Also:
- Constant Field Values
-
DISTRIBUTION_NOT_DONE
public static final java.lang.String DISTRIBUTION_NOT_DONE
- See Also:
- Constant Field Values
-
DISTRIBUTION_UNKNOWN
public static final java.lang.String DISTRIBUTION_UNKNOWN
- See Also:
- Constant Field Values
-
DISTRIBUTION
public static final java.lang.String DISTRIBUTION
- See Also:
- Constant Field Values
-
DISTRIBUTION_STATUS
public static final java.lang.String DISTRIBUTION_STATUS
- See Also:
- Constant Field Values
-
EXPANSION_STATUS
public static final java.lang.String EXPANSION_STATUS
- See Also:
- Constant Field Values
-
EXPANSION_SKIPPED
public static final java.lang.String EXPANSION_SKIPPED
- See Also:
- Constant Field Values
-
EXPANSION_UNKNOWN
public static final java.lang.String EXPANSION_UNKNOWN
- See Also:
- Constant Field Values
-
EXPANSION_INPROGRESS
public static final java.lang.String EXPANSION_INPROGRESS
- See Also:
- Constant Field Values
-
EXPANSION_ERROR
public static final java.lang.String EXPANSION_ERROR
- See Also:
- Constant Field Values
-
EXPANSION_NOT_PROCESSING
public static final java.lang.String EXPANSION_NOT_PROCESSING
- 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
-
causeOfFailure
public transient java.lang.Throwable causeOfFailure
The java.lang.Throwable which was caught, resulting in the failure. This value can be null, and can be non-null only for local clients.
-
-
Constructor Detail
-
AppNotification
public AppNotification(java.lang.String taskName, java.lang.String subtaskName, java.lang.String taskStatus, java.lang.String subtaskStatus, java.lang.String taskMessage, java.util.Properties taskProperties, java.lang.Throwable causeOfFailure)Creates a new notifier instance.- Parameters:
taskName- Name of the tasksubtaskName- Name of the subtasktaskStatus- Task statussubtaskStatus- Subtask statustaskMessage- Detailed task messagetaskProperties- Properties of taskcauseOfFailure- Exception associated with failure of operation.
-
AppNotification
public AppNotification(java.lang.String taskName, java.lang.String subtaskName, java.lang.String taskStatus, java.lang.String subtaskStatus, java.lang.String taskMessage, java.util.Properties taskProperties)Creates a new notifier instance.- Parameters:
taskName- Name of the tasksubtaskName- Name of the subtasktaskStatus- Task statussubtaskStatus- Subtask statustaskMessage- Detailed task messagetaskProperties- Properties of task
-
AppNotification
public AppNotification(java.lang.String taskName, java.lang.String subtaskName, java.lang.String taskStatus, java.lang.String subtaskStatus, java.lang.String taskMessage)
-
-