com.ibm.websphere.product.metadata.im

Class IMEvent

  1. java.lang.Object
  2. extended bycom.ibm.websphere.product.metadata.im.IMEvent

  1. public class IMEvent
  2. extends java.lang.Object
This class represents an event (install, uninstall, update, rollback) based on information from history.xml.
Version:
8.0

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
S_EVENT_STATUS_FAIL
IBM WEBSPHERE INTERNAL USE ONLY.
  1. static
  2. java.lang.String
S_EVENT_STATUS_PARTIALSUCCESS
IBM WEBSPHERE INTERNAL USE ONLY.
  1. static
  2. java.lang.String
S_EVENT_STATUS_SUCCESS
IBM WEBSPHERE INTERNAL USE ONLY.
  1. static
  2. java.lang.String
S_EVENT_TYPE_INSTALL
IBM WEBSPHERE INTERNAL USE ONLY.
  1. static
  2. java.lang.String
S_EVENT_TYPE_INSTALL_FEATURE
IBM WEBSPHERE INTERNAL USE ONLY.
  1. static
  2. java.lang.String
S_EVENT_TYPE_MODIFY_FEATURE
IBM WEBSPHERE INTERNAL USE ONLY.
  1. static
  2. java.lang.String
S_EVENT_TYPE_ROLLBACK
IBM WEBSPHERE INTERNAL USE ONLY.
  1. static
  2. java.lang.String
S_EVENT_TYPE_UNINSTALL
IBM WEBSPHERE INTERNAL USE ONLY.
  1. static
  2. java.lang.String
S_EVENT_TYPE_UNINSTALL_FEATURE
IBM WEBSPHERE INTERNAL USE ONLY.
  1. static
  2. java.lang.String
S_EVENT_TYPE_UPDATE
IBM WEBSPHERE INTERNAL USE ONLY.

Constructor Summary

Constructor and Description
IMEvent(org.w3c.dom.Node eventNode)
IBM WEBSPHERE INTERNAL USE ONLY.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String[]
getAparList()
Return the list of apars associated with this event.
  1. java.lang.String
getEventStartTime()
Returns the starting time of this event.
  1. java.lang.String
getEventStatus()
Returns the status of the current event.
  1. java.lang.String
getEventType()
Returns the type of the current event.
  1. IMVersion
getIMVersion()
Returns the version in IBM Install Manager format of the offering after this event has occurred.
  1. java.lang.String
getLogFilePath()
Returns the full path of the log file which logs the current event.
  1. java.lang.String
getOfferingDescription()
Returns the description of the offering involved in this event.
  1. java.lang.String
getOfferingID()
Returns the offering ID of the offering involved in this event.
  1. java.lang.String
getPackageFullVersion()
Returns the full package version of the offering/fix.
  1. java.lang.String
getVisibleFeatureDescriptionByFeatureID(java.lang.String featureID)
Return the feature description based on feature ID.
  1. java.util.Vector<java.lang.String>
getVisibleFeatureIDList()
Returns the list of feature IDs for visible features.
  1. java.util.Vector<java.lang.String>
getVisibleFeatureNameList()
Returns the list of feature names for visible features.
  1. boolean
hasSameFeatures(java.util.Vector<java.lang.String> featureIDList)
Returns true if the input feature ID list has the same size as the feature ID list of this event and the 2 lists contain the same IDs.
  1. boolean
isEventForIFix()
Return true if this event is for ifix.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

S_EVENT_TYPE_INSTALL

  1. public static java.lang.String S_EVENT_TYPE_INSTALL
IBM WEBSPHERE INTERNAL USE ONLY.

S_EVENT_TYPE_UNINSTALL

  1. public static java.lang.String S_EVENT_TYPE_UNINSTALL
IBM WEBSPHERE INTERNAL USE ONLY.

S_EVENT_TYPE_UPDATE

  1. public static java.lang.String S_EVENT_TYPE_UPDATE
IBM WEBSPHERE INTERNAL USE ONLY.

S_EVENT_TYPE_ROLLBACK

  1. public static java.lang.String S_EVENT_TYPE_ROLLBACK
IBM WEBSPHERE INTERNAL USE ONLY.

S_EVENT_TYPE_INSTALL_FEATURE

  1. public static java.lang.String S_EVENT_TYPE_INSTALL_FEATURE
IBM WEBSPHERE INTERNAL USE ONLY.

S_EVENT_TYPE_UNINSTALL_FEATURE

  1. public static java.lang.String S_EVENT_TYPE_UNINSTALL_FEATURE
IBM WEBSPHERE INTERNAL USE ONLY.

S_EVENT_TYPE_MODIFY_FEATURE

  1. public static java.lang.String S_EVENT_TYPE_MODIFY_FEATURE
IBM WEBSPHERE INTERNAL USE ONLY.

S_EVENT_STATUS_SUCCESS

  1. public static java.lang.String S_EVENT_STATUS_SUCCESS
IBM WEBSPHERE INTERNAL USE ONLY.

S_EVENT_STATUS_FAIL

  1. public static java.lang.String S_EVENT_STATUS_FAIL
IBM WEBSPHERE INTERNAL USE ONLY.

S_EVENT_STATUS_PARTIALSUCCESS

  1. public static java.lang.String S_EVENT_STATUS_PARTIALSUCCESS
IBM WEBSPHERE INTERNAL USE ONLY.

Constructor Detail

IMEvent

  1. public IMEvent(org.w3c.dom.Node eventNode)
IBM WEBSPHERE INTERNAL USE ONLY. Constructor.

Method Detail

getAparList

  1. public java.lang.String[] getAparList( )
Return the list of apars associated with this event.

Returns:
The list of apars associated with this event.

getLogFilePath

  1. public java.lang.String getLogFilePath( )
Returns the full path of the log file which logs the current event.

Returns:
the full path of the log file which logs the current event.

getEventType

  1. public java.lang.String getEventType( )
Returns the type of the current event. It can be either "install", "uninstall", "update" or "rollback".

Returns:
the type of this event

getEventStatus

  1. public java.lang.String getEventStatus( )
Returns the status of the current event. It can be either "SUCCESS", or "FAIL"

Returns:
the status of this event.

getEventStartTime

  1. public java.lang.String getEventStartTime( )
Returns the starting time of this event.

Returns:
the starting time of this event.

getOfferingID

  1. public java.lang.String getOfferingID( )
Returns the offering ID of the offering involved in this event.

Returns:
the offering ID of the offering involved in this event.

getIMVersion

  1. public IMVersion getIMVersion()
Returns the version in IBM Install Manager format of the offering after this event has occurred.

Returns:
the version in IBM Install Manager format of the offering after this event has occurred.

getOfferingDescription

  1. public java.lang.String getOfferingDescription( )
Returns the description of the offering involved in this event.

Returns:
the description of the offering involved in this event.

getPackageFullVersion

  1. public java.lang.String getPackageFullVersion( )
Returns the full package version of the offering/fix.

Returns:
The full package version of the offering/fix.

getVisibleFeatureIDList

  1. public java.util.Vector<java.lang.String> getVisibleFeatureIDList( )
Returns the list of feature IDs for visible features.

Returns:
the list of feature IDs for visible features.

getVisibleFeatureNameList

  1. public java.util.Vector<java.lang.String> getVisibleFeatureNameList( )
Returns the list of feature names for visible features.

Returns:
the list of feature names for visible features.

getVisibleFeatureDescriptionByFeatureID

  1. public java.lang.String getVisibleFeatureDescriptionByFeatureID( java.lang.String featureID)
Return the feature description based on feature ID.

Parameters:
featureID - the ID of this feature

Returns:
the feature description based on feature ID.

hasSameFeatures

  1. public boolean hasSameFeatures( java.util.Vector<java.lang.String> featureIDList)
Returns true if the input feature ID list has the same size as the feature ID list of this event and the 2 lists contain the same IDs. Else return false.

Parameters:
featureIDList - the feature ID list to be compared.

Returns:
true if the input feature ID list has the same size as the feature ID list of this event and the 2 lists contain the same IDs. Else return false.

isEventForIFix

  1. public boolean isEventForIFix()
Return true if this event is for ifix. Else return false

Returns:
true if this event is for ifix. Else return false