Package hudson.plugins.jobConfigHistory
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
-
-
Field Summary
-
Fields inherited from class hudson.plugins.jobConfigHistory.HistoryDescr
EMPTY_HISTORY_DESCR
-
-
Constructor Summary
Constructors Constructor Description LazyHistoryDescr(XmlFile historyDescriptionFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getChangeReasonComment()
.String
getCurrentName()
Returns the current job name after renaming.String
getOldName()
Returns the old job name before renaming.String
getOperation()
Returns name of the operation.String
getTimestamp()
Returns timestamp of the operation.String
getUser()
Returns display name of the user doing the operation.String
getUserID()
Returns id of the user doing the operation.-
Methods inherited from class hudson.plugins.jobConfigHistory.HistoryDescr
parsedDate, toString
-
-
-
-
Constructor Detail
-
LazyHistoryDescr
public LazyHistoryDescr(XmlFile historyDescriptionFile)
-
-
Method Detail
-
getUser
public String getUser()
Returns display name of the user doing the operation..- Overrides:
getUser
in classHistoryDescr
- Returns:
- display name of the user
-
getUserID
public String getUserID()
Returns id of the user doing the operation..- Overrides:
getUserID
in classHistoryDescr
- Returns:
- id of the user
-
getOperation
public String getOperation()
Returns name of the operation..- Overrides:
getOperation
in classHistoryDescr
- Returns:
- name of the operation
-
getCurrentName
public String getCurrentName()
Returns the current job name after renaming..- Overrides:
getCurrentName
in classHistoryDescr
- Returns:
- the current job name
-
getOldName
public String getOldName()
Returns the old job name before renaming..- Overrides:
getOldName
in classHistoryDescr
- Returns:
- the old job name
-
getTimestamp
public String getTimestamp()
Returns timestamp of the operation..- Overrides:
getTimestamp
in classHistoryDescr
- Returns:
- timestamp
-
getChangeReasonComment
public String getChangeReasonComment()
.- Overrides:
getChangeReasonComment
in classHistoryDescr
- Returns:
- the comment on why the config has been changed. null, if not given.
-
-