hudson.plugins.analysis.tokens
Class AbstractFixedAnnotationsTokenMacro
java.lang.Object
org.jenkinsci.plugins.tokenmacro.TokenMacro
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
hudson.plugins.analysis.tokens.AbstractTokenMacro
hudson.plugins.analysis.tokens.AbstractFixedAnnotationsTokenMacro
- All Implemented Interfaces:
- hudson.ExtensionPoint
public class AbstractFixedAnnotationsTokenMacro
- extends AbstractTokenMacro
Provides a token that evaluates to the number of fixed annotations found by a
plug-in.
- Author:
- Ulli Hafner
| Nested classes/interfaces inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro |
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.Parameter |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
protected String |
evaluate(BuildResult result)
Evaluates the build result and returns the string value of the token. |
| Methods inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro |
evaluate |
| Methods inherited from class org.jenkinsci.plugins.tokenmacro.TokenMacro |
all, expand, expandAll, hasNestedContent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFixedAnnotationsTokenMacro
public AbstractFixedAnnotationsTokenMacro(String tokenName,
Class<? extends ResultAction<? extends BuildResult>>... resultActions)
- Creates a new instance of
AbstractFixedAnnotationsTokenMacro.
- Parameters:
tokenName - the name of the tokenresultActions - associated actions containing the build result
evaluate
protected String evaluate(BuildResult result)
- Description copied from class:
AbstractTokenMacro
- Evaluates the build result and returns the string value of the token.
- Specified by:
evaluate in class AbstractTokenMacro
- Parameters:
result - the result to evaluate
- Returns:
- the string value of the token
Copyright © 2004-2012 Hudson. All Rights Reserved.