@ExportedBean(defaultVisibility=999) public class MercurialTagAction extends SCMRevisionState
Currently it just remembers the revision ID, but we want to extend this to cover tagging.
Modifier and Type | Field and Description |
---|---|
String |
branch
Branch name of current revision.
|
String |
id
160-bit node name, e.g.
|
String |
rev
Integer revision number.
|
String |
subdir
Matches
MercurialSCM.subdir . |
NONE
Constructor and Description |
---|
MercurialTagAction(String id,
String rev,
String subdir)
Deprecated.
|
MercurialTagAction(String id,
String rev,
String subdir,
String branch) |
Modifier and Type | Method and Description |
---|---|
String |
getBranch() |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getId() |
String |
getRev() |
String |
getShortId()
Mercurial often uses a short ID form that consists of 12 letters.
|
String |
getSubdir() |
String |
getUrlName() |
String |
toString() |
public final String id
5703b34f17d5fec7bbff2f360c0b6c3d0b952f65
from hg log -r . --template '{node}'
public final String rev
public final String subdir
MercurialSCM.subdir
.public final String branch
@Deprecated public MercurialTagAction(@NonNull String id, @NonNull String rev, @Nullable String subdir)
@Exported(name="mercurialNodeName") public String getId()
@Exported(name="mercurialRevisionNumber") public String getRev()
@Exported public String getSubdir()
@Exported(name="mercurialRevisionBranch") public String getBranch()
public String getShortId()
public String getIconFileName()
getIconFileName
in interface Action
getIconFileName
in class SCMRevisionState
public String getDisplayName()
getDisplayName
in interface Action
getDisplayName
in interface ModelObject
getDisplayName
in class SCMRevisionState
public String getUrlName()
getUrlName
in interface Action
getUrlName
in class SCMRevisionState
Copyright © 2016–2022. All rights reserved.