org.jenkinsci.plugins.ghprb
Class GhprbTokenMacro
java.lang.Object
org.jenkinsci.plugins.tokenmacro.TokenMacro
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
org.jenkinsci.plugins.ghprb.GhprbTokenMacro
- All Implemented Interfaces:
- hudson.ExtensionPoint
@Extension(optional=true)
public class GhprbTokenMacro
- extends org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
PR_Name
token that expands to the PR Name.
PR_User
token that expands to the PR Opener's email.
- Author:
- Josh Caldwell
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 |
Methods inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro |
evaluate, hasNestedContent |
Methods inherited from class org.jenkinsci.plugins.tokenmacro.TokenMacro |
all, expand, expand, expandAll, expandAll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GhprbTokenMacro
public GhprbTokenMacro()
acceptsMacroName
public boolean acceptsMacroName(String macroName)
- Specified by:
acceptsMacroName
in class org.jenkinsci.plugins.tokenmacro.TokenMacro
evaluate
public String evaluate(hudson.model.AbstractBuild<?,?> context,
hudson.model.TaskListener listener,
String macroName)
throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException,
IOException,
InterruptedException
- Specified by:
evaluate
in class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
- Throws:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
InterruptedException
Copyright © 2004-2014. All Rights Reserved.