@ExportedBean(defaultVisibility=999) public abstract static class ChangeLogSet.Entry extends Object
Constructor and Description |
---|
Entry() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends ChangeLogSet.AffectedFile> |
getAffectedFiles()
Returns a set of paths in the workspace that was
affected by this change.
|
abstract Collection<String> |
getAffectedPaths()
Returns a set of paths in the workspace that was
affected by this change.
|
abstract User |
getAuthor()
The user who made this change.
|
String |
getCommitId()
Returns a human readable display name of the commit number, revision number, and such thing
that identifies this entry.
|
abstract String |
getMsg()
Gets the "commit message".
|
String |
getMsgAnnotated()
Gets the text fully marked up by
ChangeLogAnnotator . |
String |
getMsgEscaped()
Message escaped for HTML
|
ChangeLogSet |
getParent() |
long |
getTimestamp()
Returns the timestamp of this commit in the
Date.getTime() format. |
protected void |
setParent(ChangeLogSet parent)
Should be invoked before a
ChangeLogSet is exposed to public. |
public ChangeLogSet getParent()
protected void setParent(ChangeLogSet parent)
ChangeLogSet
is exposed to public.@Exported public String getCommitId()
This method is primarily intended for visualization of the data.
@Exported public long getTimestamp()
Date.getTime()
format.
This method is primarily intended for visualization of the data.
@Exported public abstract String getMsg()
The exact definition depends on the individual SCM implementation.
@Exported public abstract User getAuthor()
@Exported public abstract Collection<String> getAffectedPaths()
Contains string like 'foo/bar/zot'. No leading/trailing '/', and separator must be normalized to '/'.
public Collection<? extends ChangeLogSet.AffectedFile> getAffectedFiles()
Noted: since this is a new interface, some of the SCMs may not have implemented this interface. The default implementation for this interface is throw UnsupportedOperationException
It doesn't throw NoSuchMethodException because I rather to throw a runtime exception
public String getMsgAnnotated()
ChangeLogAnnotator
.public String getMsgEscaped()
Copyright © 2004–2022. All rights reserved.