Class LabelBadgeAction
- java.lang.Object
-
- org.jvnet.jenkins.plugins.nodelabelparameter.LabelBadgeAction
-
- All Implemented Interfaces:
Action
,BuildBadgeAction
,ModelObject
public class LabelBadgeAction extends Object implements BuildBadgeAction
- Author:
- domi
-
-
Constructor Summary
Constructors Constructor Description LabelBadgeAction(String label, String tooltip)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
String
getIconFileName()
String
getLabel()
String
getTooltip()
String
getUrlName()
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
- Returns:
null
as badges icons are rendered by the jelly.- See Also:
Action.getIconFileName()
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
- See Also:
Action.getDisplayName()
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
- 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
-
-