Class DiversionChangeLogEntry
java.lang.Object
hudson.scm.ChangeLogSet.Entry
io.superstudios.plugins.diversion.DiversionChangeLogEntry
Represents a single commit in the Diversion change log.
This is what users see in the "Changes" section of Jenkins builds.
-
Constructor Summary
ConstructorsConstructorDescriptionDiversionChangeLogEntry(String commitId, String message, DiversionAuthor author, long timestamp) DiversionChangeLogEntry(String commitId, String message, DiversionAuthor author, long timestamp, Collection<String> affectedPaths) -
Method Summary
Methods inherited from class hudson.scm.ChangeLogSet.Entry
getAffectedFiles, getMsgEscaped, getParent, setParent
-
Constructor Details
-
DiversionChangeLogEntry
public DiversionChangeLogEntry(String commitId, String message, DiversionAuthor author, long timestamp) -
DiversionChangeLogEntry
public DiversionChangeLogEntry(String commitId, String message, DiversionAuthor author, long timestamp, Collection<String> affectedPaths)
-
-
Method Details
-
getMsg
- Specified by:
getMsgin classChangeLogSet.Entry
-
getAuthor
- Specified by:
getAuthorin classChangeLogSet.Entry
-
getCommitId
- Overrides:
getCommitIdin classChangeLogSet.Entry
-
getDiversionAuthor
-
getTimestamp
public long getTimestamp()- Overrides:
getTimestampin classChangeLogSet.Entry
-
getDate
-
toString
-
getDisplayName
Get a display string that includes commit ID. This might be used by Jenkins core templates. -
getMsgAnnotated
Get formatted message with commit ID prefix. Some Jenkins templates might use this.- Overrides:
getMsgAnnotatedin classChangeLogSet.Entry
-
getAffectedPaths
- Specified by:
getAffectedPathsin classChangeLogSet.Entry
-