Class SideBySideView.Line.Item

java.lang.Object
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 text this includes the linenumber as well as the corresponding cssClass which signals whether the item was modified, added or deleted.

  • Constructor Details

    • Item

      public Item()
  • Method Details

    • getLineNumber

      public String getLineNumber()
      Returns the line number of the Item.
      Returns:
      lineNumber.
    • setLineNumber

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

      public String getText()
      Returns the text of the Item.
      Returns:
      text.
    • setText

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

      public String getCssClass()
      Returns the cssClass of the Item.
      Returns:
      cssClass.
    • setCssClass

      public void setCssClass(String cssClass)
      Sets cssClass.
      Parameters:
      cssClass - cssClass