public class ActivityLogEntry
extends java.lang.Object
The ActivityLogEntry class represents an entry in a broker activity log.
com.ibm.broker.config.proxy.ActivityLogEntry
|
|
Responsibilities | Represents a single read-only entry from an Activity Log. |
Internal Collaborators | None |
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ 80006.2 2011-04-15 HDCAB v8 Release
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDetail()
Returns the detail field for the current log entry
|
java.lang.String |
getInsert(int elementNumber)
Returns the insert with the supplied number.
|
int |
getInsertsSize()
Returns the number of available inserts for
the current log entry.
|
static ActivityLogEntry |
getLogEntryFromString(java.lang.String encodedData)
Returns a new ActivityLogEntry object that contains the
information described in the encoded String.
|
java.lang.String |
getMessage()
Returns the message field for the current log entry
|
int |
getMessageNumber()
Returns the BIP message number for the current log entry.
|
java.lang.String |
getSource()
Returns the source field for the current log entry
|
java.util.Enumeration<java.lang.String> |
getTagNames()
Returns an enumeration of the tag names for the current log
entry.
|
int |
getTagsSize()
Returns the number of available tags for
the current log entry.
|
java.lang.String |
getTagValue(java.lang.String tagName)
Returns the value of a specific tag.
|
java.lang.String |
getThreadIdentifier()
Returns the thread identifier field for the current log entry
|
java.lang.String |
getThreadSequenceNumber()
Returns the thread sequence number field for the current log
entry
|
java.util.Date |
getTimestamp()
Returns the timestamp for the current log entry.
|
boolean |
isErrorMessage()
Returns true if and only if the BIP message number indicates
an error.
|
static void |
setMessageCatalogEclipsePluginName(java.lang.String pluginName)
Asks the IBM Integration API (CMP) to attempt to
load the message catalog from the Eclipse plugin with
the supplied name.
|
static void |
setMessageCatalogName(java.lang.String catalogName)
Sets the name of the message catalog from which localized
BIP messages are loaded.
|
java.lang.String |
toString()
Displays information on the log entry (for trace)
|
public java.lang.String getMessage()
public int getMessageNumber()
public boolean isErrorMessage()
public java.lang.String getDetail()
public java.lang.String getSource()
public java.lang.String getThreadIdentifier()
public java.lang.String getThreadSequenceNumber()
public java.util.Date getTimestamp()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getInsert(int elementNumber)
elementNumber
- public int getInsertsSize()
public int getTagsSize()
public java.util.Enumeration<java.lang.String> getTagNames()
public java.lang.String getTagValue(java.lang.String tagName)
public static ActivityLogEntry getLogEntryFromString(java.lang.String encodedData)
encodedData
- String as stored in the
relevant attribute of the ActivityLogProxy.public static void setMessageCatalogEclipsePluginName(java.lang.String pluginName)
pluginName
- Name of the plugin that contains
the message catalog. The default is "com.ibm.etools.mft.config".public static void setMessageCatalogName(java.lang.String catalogName)
catalogName
- Name of the message catalog to use. The
default is "BIPmsgs".