Class AnnotationHelper
java.lang.Object
com.sonyericsson.jenkins.plugins.bfa.AnnotationHelper
- All Implemented Interfaces:
Serializable
Helper for annotating the lines, creates the strings to annotate with.
- Author:
- Tomas Westling<tomas.westling@sonymobile.com>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a String to annotate with, after the console text.void
Adds a focus id line before the console text.void
Adds a title for the line.getAfter()
Gets the String to annotate with after the console text.Gets the String to annotate with before the console text.
-
Constructor Details
-
AnnotationHelper
public AnnotationHelper()
-
-
Method Details
-
getBefore
Gets the String to annotate with before the console text.- Returns:
- the String to put before the console text.
-
getAfter
Gets the String to annotate with after the console text.- Returns:
- the String to put after the console text.
-
addFocus
Adds a focus id line before the console text.- Parameters:
id
- the id for the line, to refer to in links.
-
addTitle
Adds a title for the line.- Parameters:
addedTitle
- the title of the line.
-
addAfter
Adds a String to annotate with, after the console text.- Parameters:
addedAfter
- the String to put after the console text.
-