hudson.plugins.mercurial
Class MercurialTagAction

java.lang.Object
  extended by hudson.scm.SCMRevisionState
      extended by hudson.plugins.mercurial.MercurialTagAction
All Implemented Interfaces:
Action, ModelObject

public class MercurialTagAction
extends SCMRevisionState

Action contributed to AbstractBuild from Mercurial.

Currently it just remembers the revision ID, but we want to extend this to cover tagging.


Field Summary
 String id
          160-bit node name, e.g.
 
Fields inherited from class hudson.scm.SCMRevisionState
NONE
 
Constructor Summary
MercurialTagAction(String id)
           
 
Method Summary
 String getShortId()
          Mercurial often uses a short ID form that consists of 12 letters.
 
Methods inherited from class hudson.scm.SCMRevisionState
getDisplayName, getIconFileName, getUrlName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public final String id
160-bit node name, e.g. 5703b34f17d5fec7bbff2f360c0b6c3d0b952f65 from hg log -r . --template '{node}'

Constructor Detail

MercurialTagAction

public MercurialTagAction(String id)
Method Detail

getShortId

public String getShortId()
Mercurial often uses a short ID form that consists of 12 letters.



Copyright © 2010. All Rights Reserved.