Package hudson.plugins.mercurial
Class MercurialTagAction
java.lang.Object
hudson.scm.SCMRevisionState
hudson.plugins.mercurial.MercurialTagAction
- All Implemented Interfaces:
Action,ModelObject
Action contributed to a build from Mercurial.
Currently it just remembers the revision ID, but we want to extend this to cover tagging.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringBranch name of current revision.final String160-bit node name, e.g.final StringInteger revision number.final StringMatchesMercurialSCM.subdir.Fields inherited from class hudson.scm.SCMRevisionState
NONE -
Constructor Summary
ConstructorsConstructorDescriptionMercurialTagAction(String id, String rev, String subdir) Deprecated.MercurialTagAction(String id, String rev, String subdir, String branch) -
Method Summary
-
Field Details
-
id
160-bit node name, e.g.5703b34f17d5fec7bbff2f360c0b6c3d0b952f65fromhg log -r . --template '{node}' -
rev
Integer revision number. The repository-local changeset number. -
subdir
MatchesMercurialSCM.subdir. -
branch
Branch name of current revision.
-
-
Constructor Details
-
MercurialTagAction
@Deprecated public MercurialTagAction(@NonNull String id, @NonNull String rev, @Nullable String subdir) Deprecated. -
MercurialTagAction
-
-
Method Details
-
getId
-
getRev
-
getSubdir
-
getBranch
-
getShortId
Mercurial often uses a short ID form that consists of 12 letters. -
toString
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Overrides:
getIconFileNamein classSCMRevisionState
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject- Overrides:
getDisplayNamein classSCMRevisionState
-
getUrlName
- Specified by:
getUrlNamein interfaceAction- Overrides:
getUrlNamein classSCMRevisionState
-