|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mqe.trace.MQeTracePointGroup
This class holds information about a logical grouping of trace points.
Constructor Summary | |
MQeTracePointGroup(java.lang.String name,
char abbreviation)
Consturcts an MQeTracePointGroup object given the name and character code parameters. |
|
MQeTracePointGroup(java.lang.String name,
char abbreviation,
MQeTracePoint[] tracePointArray)
Consturcts an MQeTracePointGroup object given the name, character code parameters and an array of the tracepoints to be the member of this group. |
Method Summary | |
boolean |
addTracePoint(MQeTracePoint tracePoint)
Adds a new trace point to this logical group of trace points. |
boolean |
contains(short msgNumber)
Method which returns true if a trace point corresponding to the supplied msgNumber is present in the collection of trace points. |
long |
getBitMask()
Gets a long value ( with a single bit set ) indicating the logical trace point group. |
java.lang.String |
getName()
Gets a long name description of the logical trace point group. |
MQeTracePoint |
getTracePoint(short messageNumber)
Returns a trace point from this logical group of trace points. |
MQeTracePoint[] |
getTracePoints()
Gets a list of of trace points in this logical group. |
boolean |
removeTracePoint(short msgNumber)
Removes a trace point from this logical group. |
void |
setAbbreviation(char newAbbreviation)
Replaces the current abbreviation for a group with the passed character abbreviation. |
void |
setName(java.lang.String newName)
Replaces the current long name for a group with the passed long name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MQeTracePointGroup(java.lang.String name, char abbreviation) throws java.lang.Exception
name
- A String representing the group name.abbreviation
- Character code for the group.
java.lang.Exception
public MQeTracePointGroup(java.lang.String name, char abbreviation, MQeTracePoint[] tracePointArray)
name
- A String representing the group name.abbreviation
- Character code for the group.tracePointArray
- An array containg the tracepoints which are to be the member
of this group.Method Detail |
public java.lang.String getName()
For example "Error", might be returned for the error group.
public void setName(java.lang.String newName)
newName
- A String containg the name of the new trace point group.
public long getBitMask()
public void setAbbreviation(char newAbbreviation)
newAbbreviation
- The value to be set for abbreviation for a new group.public MQeTracePoint getTracePoint(short messageNumber)
messageNumber
- A short value indicating the message number of the trace point.
public boolean addTracePoint(MQeTracePoint tracePoint)
A trace point may be added to many trace point groups.
tracePoint
- An MQeTracePoint to be added.
public boolean removeTracePoint(short msgNumber)
msgNumber
- A short value containing the message number which is to be removed.
public MQeTracePoint[] getTracePoints()
All trace points in this group are cloned, and a copy is added to the returned vector. If there are no tracepoints in this logical group, then a vector with no elements is returned.
public boolean contains(short msgNumber)
msgNumber
- A short value contining the message number of trace points.
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |