org.jvnet.hudson.plugins.groovypostbuild
Class GroovyPostbuildAction
java.lang.Object
org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.BuildBadgeAction, hudson.model.ModelObject
@ExportedBean(defaultVisibility=2)
public class GroovyPostbuildAction
- extends Object
- implements hudson.model.BuildBadgeAction
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createBadge
public static GroovyPostbuildAction createBadge(String icon,
String text)
createShortText
public static GroovyPostbuildAction createShortText(String text)
createShortText
public static GroovyPostbuildAction createShortText(String text,
String color,
String background,
String border,
String borderColor)
createInfoBadge
public static GroovyPostbuildAction createInfoBadge(String text)
createWarningBadge
public static GroovyPostbuildAction createWarningBadge(String text)
createErrorBadge
public static GroovyPostbuildAction createErrorBadge(String text)
getUrlName
public String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
isTextOnly
@Exported
public boolean isTextOnly()
getIconPath
@Exported
public String getIconPath()
getText
@Exported
public String getText()
getColor
@Exported
public String getColor()
getBackground
@Exported
public String getBackground()
getBorder
@Exported
public String getBorder()
getBorderColor
@Exported
public String getBorderColor()
getIconPath
public static String getIconPath(String icon)
Copyright © 2004-2012. All Rights Reserved.