hudson.plugins.jobConfigHistory
Class SideBySideView.Line.Item

java.lang.Object
  extended by hudson.plugins.jobConfigHistory.SideBySideView.Line.Item
Enclosing class:
SideBySideView.Line

public static class SideBySideView.Line.Item
extends Object

Simple representation of a diff element. Additional to the the text this includes the linenumber as well as the corresponding cssClass which signals wether the item was modified, added or deleted.


Constructor Summary
SideBySideView.Line.Item()
           
 
Method Summary
 String getCssClass()
          Returns the cssClass of the Item.
 String getLineNumber()
          Returns the line number of the Item.
 String getText()
          Returns the text of the Item.
 void setCssClass(String cssClass)
          Sets cssClass.
 void setLineNumber(Integer lineNumber)
           
 void setText(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SideBySideView.Line.Item

public SideBySideView.Line.Item()
Method Detail

getLineNumber

public String getLineNumber()
Returns the line number of the Item.

Returns:
lineNumber.

getText

public String getText()
Returns the text of the Item.

Returns:
text.

getCssClass

public String getCssClass()
Returns the cssClass of the Item.

Returns:
cssClass.

setCssClass

public void setCssClass(String cssClass)
Sets cssClass.

Parameters:
cssClass - cssClass

setLineNumber

public void setLineNumber(Integer lineNumber)
Parameters:
lineNumber - the lineNumber to set

setText

public void setText(String text)
Parameters:
text - the text to set


Copyright © 2004–2014. All rights reserved.