@ExportedBean(defaultVisibility=2) public class BadgeAction extends Object implements hudson.model.BuildBadgeAction
| Modifier and Type | Method and Description |
|---|---|
static BadgeAction |
createBadge(String icon,
String text) |
static BadgeAction |
createBadge(String icon,
String text,
String link) |
static BadgeAction |
createErrorBadge(String text) |
static BadgeAction |
createInfoBadge(String text) |
static BadgeAction |
createShortText(String text) |
static BadgeAction |
createShortText(String text,
String color,
String background,
String border,
String borderColor) |
static BadgeAction |
createWarningBadge(String text) |
String |
getBackground() |
String |
getBorder() |
String |
getBorderColor() |
String |
getColor() |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getIconPath() |
static String |
getIconPath(String icon) |
String |
getLink() |
String |
getText() |
String |
getUrlName() |
boolean |
isTextOnly() |
public static BadgeAction createBadge(String icon, String text)
public static BadgeAction createBadge(String icon, String text, String link)
public static BadgeAction createShortText(String text)
public static BadgeAction createShortText(String text, String color, String background, String border, String borderColor)
public static BadgeAction createInfoBadge(String text)
public static BadgeAction createWarningBadge(String text)
public static BadgeAction createErrorBadge(String text)
public String getUrlName()
getUrlName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getIconFileName()
getIconFileName in interface hudson.model.Action@Exported public boolean isTextOnly()
@Exported public String getIconPath()
@Exported public String getText()
@Exported public String getColor()
@Exported public String getBackground()
@Exported public String getBorder()
@Exported public String getBorderColor()
@Exported public String getLink()
Copyright © 2016–2018. All rights reserved.