Package hudson.plugins.mercurial
Class MercurialChangeSet
java.lang.Object
hudson.scm.ChangeLogSet.Entry
hudson.plugins.mercurial.MercurialChangeSet
Represents a change set.
The object should be treated like an immutable object. The setters are only provided for digester.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets all the files that were added.Collection<? extends ChangeLogSet.AffectedFile>Gets the user who made this change.getDate()Returns the timestamp of the changeset as a string.Gets all the files that were deleted.Returns all three variations ofEditType.Gets all the files that were modified.getMsg()Commit message.getNode()Gets the globally unique changeset ID.longgetRev()Gets repository revision number, which is local in the current repository.Deprecated.Short node ID that hg CLI uses.longbooleanisMerge()Checks if this is a merge changeset.voidprotected voidsetParent(ChangeLogSet parent) Methods inherited from class hudson.scm.ChangeLogSet.Entry
getMsgAnnotated, getMsgEscaped, getParent
-
Constructor Details
-
MercurialChangeSet
public MercurialChangeSet()
-
-
Method Details
-
getMsg
Commit message.- Specified by:
getMsgin classChangeLogSet.Entry
-
getAuthor
Gets the user who made this change.- Specified by:
getAuthorin classChangeLogSet.Entry
-
getNode
Gets the globally unique changeset ID. -
getShortNode
Short node ID that hg CLI uses. The first 12 characters ofgetNode(). -
getRev
@Exported public long getRev()Gets repository revision number, which is local in the current repository. -
getRevision
Deprecated.Gets the globally unique changeset ID. For general purpose use, usegetNode(). This method was intended for use via reflection by the email-ext plugin, but versions 1.40 and later no longer need it. -
getCommitId
- Overrides:
getCommitIdin classChangeLogSet.Entry
-
getTimestamp
public long getTimestamp()- Overrides:
getTimestampin classChangeLogSet.Entry
-
getDate
Returns the timestamp of the changeset as a string. -
getAffectedPaths
- Specified by:
getAffectedPathsin classChangeLogSet.Entry
-
getAffectedFiles
- Overrides:
getAffectedFilesin classChangeLogSet.Entry
-
getAddedPaths
Gets all the files that were added. -
getDeletedPaths
Gets all the files that were deleted. -
getModifiedPaths
Gets all the files that were modified. -
isMerge
@Exported public boolean isMerge()Checks if this is a merge changeset. -
getPaths
-
getEditTypes
Returns all three variations ofEditType. Placed here to simplify access from views. -
setParent
- Overrides:
setParentin classChangeLogSet.Entry
-
setNode
-