hudson.plugins.mercurial
Class MercurialTagAction

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

public class MercurialTagAction
extends java.lang.Object
implements hudson.model.Action

Action contributed to AbstractBuild from Mercurial.

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

Author:
Kohsuke Kawaguchi

Field Summary
 java.lang.String id
          160-bit node name, e.g.
 
Constructor Summary
MercurialTagAction(java.lang.String id)
           
 
Method Summary
 java.lang.String getDisplayName()
           
 java.lang.String getIconFileName()
           
 java.lang.String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

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

Constructor Detail

MercurialTagAction

public MercurialTagAction(java.lang.String id)
Method Detail

getIconFileName

public java.lang.String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public java.lang.String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action


Copyright © 2009. All Rights Reserved.