Package hudson.plugins.jobConfigHistory
Class SideBySideView.Line.Item
java.lang.Object
hudson.plugins.jobConfigHistory.SideBySideView.Line.Item
- Enclosing class:
- SideBySideView.Line
Simple representation of a diff element.
Additional to the text this includes the linenumber as well as the corresponding cssClass which signals whether the item was modified, added or deleted.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the cssClass of the Item.Returns the line number of the Item.getText()Returns the text of the Item.voidsetCssClass(String cssClass) Sets cssClass.voidsetLineNumber(Integer lineNumber) void
-
Constructor Details
-
Item
public Item()
-
-
Method Details
-
getLineNumber
Returns the line number of the Item.- Returns:
- lineNumber.
-
setLineNumber
- Parameters:
lineNumber- the lineNumber to set
-
getText
Returns the text of the Item.- Returns:
- text.
-
setText
- Parameters:
text- the text to set
-
getCssClass
Returns the cssClass of the Item.- Returns:
- cssClass.
-
setCssClass
Sets cssClass.- Parameters:
cssClass- cssClass
-