Class LazyHistoryDescr

java.lang.Object
hudson.plugins.jobConfigHistory.HistoryDescr
hudson.plugins.jobConfigHistory.LazyHistoryDescr
All Implemented Interfaces:
ParsedDate

public class LazyHistoryDescr extends HistoryDescr
Lazy loader for HistoryDescr as preparation for paging.
Author:
Mirko Friedenhagen
  • Constructor Details

    • LazyHistoryDescr

      public LazyHistoryDescr(XmlFile historyDescriptionFile)
  • Method Details

    • getUser

      public String getUser()
      Returns display name of the user doing the operation..
      Overrides:
      getUser in class HistoryDescr
      Returns:
      display name of the user
    • getUserID

      public String getUserID()
      Returns id of the user doing the operation..
      Overrides:
      getUserID in class HistoryDescr
      Returns:
      id of the user
    • getOperation

      public String getOperation()
      Returns name of the operation..
      Overrides:
      getOperation in class HistoryDescr
      Returns:
      name of the operation
    • getCurrentName

      public String getCurrentName()
      Returns the current job name after renaming..
      Overrides:
      getCurrentName in class HistoryDescr
      Returns:
      the current job name
    • getOldName

      public String getOldName()
      Returns the old job name before renaming..
      Overrides:
      getOldName in class HistoryDescr
      Returns:
      the old job name
    • getTimestamp

      public String getTimestamp()
      Returns timestamp of the operation..
      Overrides:
      getTimestamp in class HistoryDescr
      Returns:
      timestamp
    • getChangeReasonComment

      public String getChangeReasonComment()
      .
      Overrides:
      getChangeReasonComment in class HistoryDescr
      Returns:
      the comment on why the config has been changed. null, if not given.