com.ibm.wsspi.xct.annotation
Class Annotation
java.lang.Object
com.ibm.wsspi.xct.annotation.Annotation
- All Implemented Interfaces:
- com.ibm.ffdc.config.Formattable, AnnotationValue
public class Annotation
- extends java.lang.Object
- implements AnnotationValue, com.ibm.ffdc.config.Formattable
This class is provided for WebSphere Application Server stack products and
infrastructure extenders that want to use Cross Component Trace for
product-specific correlation needs.
For details on usage, please contact IBM support.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Annotation
public Annotation(java.lang.String type)
Annotation
public Annotation(java.lang.String type,
java.util.List<AnnotationValue> values)
getType
public java.lang.String getType()
add
public Annotation add(java.lang.String... string)
add
public Annotation add(AnnotationValue... val)
add
public Annotation add(Attachment... attachments)
add
public Annotation add(Annotation... annotations)
add
public Annotation add(Association... associations)
associate
public Annotation associate(java.lang.String associationName,
java.lang.String... id)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.Appendable toString(java.lang.Appendable app)
throws java.io.IOException
- Specified by:
toString
in interface AnnotationValue
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
equals
public boolean equals(Annotation other)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getValues
public java.util.List<? extends AnnotationValue> getValues()
- Specified by:
getValues
in interface AnnotationValue
formatTo
public void formatTo(com.ibm.ffdc.config.IncidentStream is)
- Specified by:
formatTo
in interface com.ibm.ffdc.config.Formattable