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
    • Field Detail

      • STATUS_INPROGRESS

        public static final java.lang.String STATUS_INPROGRESS
        See Also:
        Constant Field Values
      • SERVER_STOP_FAILED

        public static final java.lang.String SERVER_STOP_FAILED
        See Also:
        Constant Field Values
      • NODESYNC_COMPLETE

        public static final java.lang.String NODESYNC_COMPLETE
        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_STATUS

        public static final java.lang.String DISTRIBUTION_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_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 task
        subtaskName - Name of the subtask
        taskStatus - Task status
        subtaskStatus - Subtask status
        taskMessage - Detailed task message
        taskProperties - Properties of task
        causeOfFailure - 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 task
        subtaskName - Name of the subtask
        taskStatus - Task status
        subtaskStatus - Subtask status
        taskMessage - Detailed task message
        taskProperties - 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)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setProperties

        public void setProperties(java.util.Properties p)
IBM WebSphere Application ServerTM
Release 8.5