org.jvnet.hudson.plugins.groovypostbuild
Class GroovyPostbuildAction

java.lang.Object
  extended by 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


Method Summary
static GroovyPostbuildAction createBadge(String icon, String text)
           
static GroovyPostbuildAction createErrorBadge(String text)
           
static GroovyPostbuildAction createInfoBadge(String text)
           
static GroovyPostbuildAction createShortText(String text)
           
static GroovyPostbuildAction createShortText(String text, String color, String background, String border, String borderColor)
           
static GroovyPostbuildAction createWarningBadge(String text)
           
 String getBackground()
           
 String getBorder()
           
 String getBorderColor()
           
 String getColor()
           
 String getDisplayName()
           
 String getIconFileName()
           
 String getIconPath()
           
static String getIconPath(String icon)
           
 String getText()
           
 String getUrlName()
           
 boolean isTextOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.