Class AnnotationHelper

java.lang.Object
com.sonyericsson.jenkins.plugins.bfa.AnnotationHelper
All Implemented Interfaces:
Serializable

public class AnnotationHelper extends Object implements Serializable
Helper for annotating the lines, creates the strings to annotate with.
Author:
Tomas Westling<tomas.westling@sonymobile.com>
See Also:
  • Constructor Details

    • AnnotationHelper

      public AnnotationHelper()
  • Method Details

    • getBefore

      public String getBefore()
      Gets the String to annotate with before the console text.
      Returns:
      the String to put before the console text.
    • getAfter

      public String getAfter()
      Gets the String to annotate with after the console text.
      Returns:
      the String to put after the console text.
    • addFocus

      public void addFocus(String id)
      Adds a focus id line before the console text.
      Parameters:
      id - the id for the line, to refer to in links.
    • addTitle

      public void addTitle(String addedTitle)
      Adds a title for the line.
      Parameters:
      addedTitle - the title of the line.
    • addAfter

      public void addAfter(String addedAfter)
      Adds a String to annotate with, after the console text.
      Parameters:
      addedAfter - the String to put after the console text.