Package burp.api.montoya.core
Interface Annotations
-
public interface AnnotationsThis interface represents annotations that can be applied to a message.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Annotationsannotations()This method is used to construct empty annotations.static Annotationsannotations(HighlightColor highlightColor)This method is used to construct a annotations from a highlight color.static Annotationsannotations(java.lang.String comment)This method is used to construct annotations from a comment.static Annotationsannotations(java.lang.String comment, HighlightColor highlightColor)This method is used to construct a annotations from a comment and a highlight color.java.lang.Stringcomment()HighlightColorhighlightColor()AnnotationswithComment(java.lang.String comment)This method is used to construct a copy of the annotations with a new comment.AnnotationswithHighlightColor(HighlightColor highlightColor)This method is used to construct a copy of the annotations with a new highlight color.
-
-
-
Method Detail
-
annotations
static Annotations annotations()
This method is used to construct empty annotations.- Returns:
- The annotations.
-
annotations
static Annotations annotations(java.lang.String comment)
This method is used to construct annotations from a comment.- Parameters:
comment- The comment of the annotation- Returns:
- The annotations.
-
annotations
static Annotations annotations(HighlightColor highlightColor)
This method is used to construct a annotations from a highlight color.- Parameters:
highlightColor- The highlight color of the annotation- Returns:
- The annotations.
-
annotations
static Annotations annotations(java.lang.String comment, HighlightColor highlightColor)
This method is used to construct a annotations from a comment and a highlight color.- Parameters:
comment- The comment of the annotationhighlightColor- The highlight color of the annotation- Returns:
- The annotations.
-
comment
java.lang.String comment()
-
highlightColor
HighlightColor highlightColor()
-
withComment
Annotations withComment(java.lang.String comment)
This method is used to construct a copy of the annotations with a new comment.- Parameters:
comment- The new comment.- Returns:
- The new annotations.
-
withHighlightColor
Annotations withHighlightColor(HighlightColor highlightColor)
This method is used to construct a copy of the annotations with a new highlight color.- Parameters:
highlightColor- The new highlight color.- Returns:
- The new annotations.
-
-