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 java.lang.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(java.lang.String icon,
java.lang.String text)
createShortText
public static GroovyPostbuildAction createShortText(java.lang.String text)
createShortText
public static GroovyPostbuildAction createShortText(java.lang.String text,
java.lang.String color,
java.lang.String background,
java.lang.String border,
java.lang.String borderColor)
createInfoBadge
public static GroovyPostbuildAction createInfoBadge(java.lang.String text)
createWarningBadge
public static GroovyPostbuildAction createWarningBadge(java.lang.String text)
createErrorBadge
public static GroovyPostbuildAction createErrorBadge(java.lang.String text)
getUrlName
public java.lang.String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getIconFileName
public java.lang.String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
isTextOnly
@Exported
public boolean isTextOnly()
getIconPath
@Exported
public java.lang.String getIconPath()
getText
@Exported
public java.lang.String getText()
getColor
@Exported
public java.lang.String getColor()
getBackground
@Exported
public java.lang.String getBackground()
getBorder
@Exported
public java.lang.String getBorder()
getBorderColor
@Exported
public java.lang.String getBorderColor()
getIconPath
public static java.lang.String getIconPath(java.lang.String icon)
Copyright © 2010. All Rights Reserved.