Class EmbeddableBadgeConfigsAction
- java.lang.Object
-
- org.jenkinsci.plugins.badge.actions.EmbeddableBadgeConfigsAction
-
- All Implemented Interfaces:
Action
,BuildBadgeAction
,ModelObject
,Serializable
@ExportedBean(defaultVisibility=2) public class EmbeddableBadgeConfigsAction extends Object implements Action, Serializable, BuildBadgeAction
- Author:
- Thomas D.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmbeddableBadgeConfigsAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConfig(EmbeddableBadgeConfig config)
EmbeddableBadgeConfig
getConfig(String id)
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
static EmbeddableBadgeConfig
resolve(Job<?,?> job, String id)
static EmbeddableBadgeConfig
resolve(Run<?,?> run, String id)
-
-
-
Method Detail
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
resolve
public static EmbeddableBadgeConfig resolve(Run<?,?> run, String id)
-
resolve
public static EmbeddableBadgeConfig resolve(Job<?,?> job, String id)
-
getConfig
@Exported public EmbeddableBadgeConfig getConfig(String id)
-
addConfig
@Exported public void addConfig(EmbeddableBadgeConfig config)
-
-