@ExportedBean(defaultVisibility=999)
public class MercurialTagAction
extends hudson.scm.SCMRevisionState
AbstractBuild from Mercurial.
Currently it just remembers the revision ID, but we want to extend this to cover tagging.
| Modifier and Type | Field and Description |
|---|---|
String |
id
160-bit node name, e.g.
|
String |
rev
Integer revision number.
|
String |
subdir
Matches
MercurialSCM.subdir. |
| Constructor and Description |
|---|
MercurialTagAction(String id,
String rev,
String subdir) |
| Modifier and Type | Method and Description |
|---|---|
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.@Exported(name="mercurialNodeName") public String getId()
@Exported(name="mercurialRevisionNumber") public String getRev()
@Exported public String getSubdir()
public String getShortId()
public String getIconFileName()
getIconFileName in interface hudson.model.ActiongetIconFileName in class hudson.scm.SCMRevisionStatepublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectgetDisplayName in class hudson.scm.SCMRevisionStatepublic String getUrlName()
getUrlName in interface hudson.model.ActiongetUrlName in class hudson.scm.SCMRevisionStateCopyright © 2004-2013. All Rights Reserved.