com.sonyericsson.jenkins.plugins.bfa
Class AnnotationHelper

java.lang.Object
  extended by 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:
Serialized Form

Constructor Summary
AnnotationHelper()
           
 
Method Summary
 void addAfter(String addedAfter)
          Adds a String to annotate with, after the console text.
 void addFocus(String id)
          Adds a focus id line before the console text.
 void addTitle(String addedTitle)
          Adds a title for the line.
 String getAfter()
          Gets the String to annotate with after the console text.
 String getBefore()
          Gets the String to annotate with before the console text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationHelper

public AnnotationHelper()
Method Detail

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.


Copyright © 2004-2014. All Rights Reserved.