org.jvnet.jenkins.plugins.nodelabelparameter
Class LabelBadgeAction

java.lang.Object
  extended by org.jvnet.jenkins.plugins.nodelabelparameter.LabelBadgeAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.BuildBadgeAction, hudson.model.ModelObject

public class LabelBadgeAction
extends Object
implements hudson.model.BuildBadgeAction

Author:
domi

Constructor Summary
LabelBadgeAction(String label, String tooltip)
           
 
Method Summary
 String getDisplayName()
           
 String getIconFileName()
           
 String getLabel()
           
 String getTooltip()
           
 String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelBadgeAction

public LabelBadgeAction(String label,
                        String tooltip)
Method Detail

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action
Returns:
null as badges icons are rendered by the jelly.
See Also:
Action.getIconFileName()

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject
See Also:
Action.getDisplayName()

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action
Returns:
null as this action object doesn't need to be bound to web.
See Also:
Action.getUrlName()

getLabel

public String getLabel()
Returns:
the label

getTooltip

public String getTooltip()
Returns:
the tooltip


Copyright © 2004-2012. All Rights Reserved.