org.jvnet.hudson.plugins.groovypostbuild
Class GroovyPostbuildRecorder.BadgeManager
java.lang.Object
org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder.BadgeManager
- Enclosing class:
- GroovyPostbuildRecorder
public static class GroovyPostbuildRecorder.BadgeManager
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyPostbuildRecorder.BadgeManager
public GroovyPostbuildRecorder.BadgeManager(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
getHudson
public hudson.model.Hudson getHudson()
getBuild
public hudson.model.AbstractBuild<?,?> getBuild()
getListener
public hudson.model.BuildListener getListener()
addShortText
public void addShortText(java.lang.String text)
addShortText
public void addShortText(java.lang.String text,
java.lang.String color,
java.lang.String background,
java.lang.String border,
java.lang.String borderColor)
addBadge
public void addBadge(java.lang.String icon,
java.lang.String text)
addInfoBadge
public void addInfoBadge(java.lang.String text)
addWarningBadge
public void addWarningBadge(java.lang.String text)
addErrorBadge
public void addErrorBadge(java.lang.String text)
createSummary
public GroovyPostbuildSummaryAction createSummary(java.lang.String icon)
buildUnstable
public void buildUnstable()
buildFailure
public void buildFailure()
buildSuccess
public void buildSuccess()
logContains
public boolean logContains(java.lang.String regexp)
contains
public boolean contains(java.io.File f,
java.lang.String regexp)
getLogMatcher
public java.util.regex.Matcher getLogMatcher(java.lang.String regexp)
getMatcher
public java.util.regex.Matcher getMatcher(java.io.File f,
java.lang.String regexp)
Copyright © 2010. All Rights Reserved.