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
          48-bit node name, like "272a7f93d92d" that are given from "hg id -i" (but except trailing '+' that can be present.)
 
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
48-bit node name, like "272a7f93d92d" that are given from "hg id -i" (but except trailing '+' that can be present.)

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.