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.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
Nested Classes Modifier and Type Class and Description 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
Fields Modifier and Type Field and Description static java.lang.String
APP_SYNC
java.lang.Throwable
causeOfFailure
The java.lang.Throwable which was caught, resulting in the failure.static java.lang.String
DISTRIBUTION
static java.lang.String
DISTRIBUTION_DONE
static java.lang.String
DISTRIBUTION_NOT_DONE
static java.lang.String
DISTRIBUTION_STATUS
static java.lang.String
DISTRIBUTION_STATUS_COMPOSITE
static java.lang.String
DISTRIBUTION_STATUS_NODE
static java.lang.String
DISTRIBUTION_UNKNOWN
static java.lang.String
EDIT
static java.lang.String
EXPANSION_ERROR
static java.lang.String
EXPANSION_INPROGRESS
static java.lang.String
EXPANSION_NOT_PROCESSING
static java.lang.String
EXPANSION_SKIPPED
static java.lang.String
EXPANSION_STATUS
static java.lang.String
EXPANSION_UNKNOWN
static java.lang.String
INSTALL
static java.lang.String
INSTALL_SYNC
java.lang.String
message
Detailed message for the app taskstatic java.lang.String
NODESYNC_COMPLETE
static java.lang.String
NODESYNC_FAILED
static java.lang.String
NODESYNC_INIT
java.util.Properties
props
Properties of the app taskstatic java.lang.String
RENAME_APP
static java.lang.String
SERVER_START_FAILED
static java.lang.String
SERVER_STARTED
static java.lang.String
SERVER_STARTING
static java.lang.String
SERVER_STOP_FAILED
static java.lang.String
SERVER_STOPPED
static java.lang.String
SERVER_STOPPING
static java.lang.String
STATUS_COMPLETED
static java.lang.String
STATUS_FAILED
static java.lang.String
STATUS_INPROGRESS
static java.lang.String
STATUS_WARNING
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
static java.lang.String
UNINSTALL_SYNC
static java.lang.String
UPDATE
static java.lang.String
UPDATE_CLUSTER
static java.lang.String
UPDATE_COMPLETED
static java.lang.String
UPDATE_FAILED
static java.lang.String
UPDATE_INITIATED
static java.lang.String
UPDATE_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 void
setProperties(java.util.Properties p)
java.lang.String
toString()
-
-
-
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)
-
-