Class TokenValueMacro
java.lang.Object
org.jenkinsci.plugins.tokenmacro.TokenMacro
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
org.jenkinsci.plugins.configfiles.custom.security.TokenValueMacro
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class TokenValueMacro
extends org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
-
Nested Class Summary
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
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
escapeHtml
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsMacroName
(String macroName) evaluate
(AbstractBuild<?, ?> build, TaskListener listener, String macroName) evaluate
(AbstractBuild<?, ?> build, TaskListener listener, String macroName, Map<String, String> arguments, com.google.common.collect.ListMultimap<String, String> argumentMultiMap) evaluate
(Run<?, ?> run, FilePath workspace, TaskListener listener, String macroName) evaluate
(Run<?, ?> run, FilePath workspace, TaskListener listener, String macroName, Map<String, String> arguments, com.google.common.collect.ListMultimap<String, String> argumentMultiMap) Methods inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
handlesHtmlEscapeInternally, hasNestedContent
Methods inherited from class org.jenkinsci.plugins.tokenmacro.TokenMacro
all, expand, expand, expand, expand, expandAll, expandAll, expandAll, expandAll, getAutoCompleteList, getPreviousRun, getWorkspace
-
Field Details
-
token
-
value
-
-
Constructor Details
-
TokenValueMacro
-
TokenValueMacro
public TokenValueMacro()
-
-
Method Details
-
acceptsMacroName
- Specified by:
acceptsMacroName
in classorg.jenkinsci.plugins.tokenmacro.TokenMacro
-
getAcceptedMacroNames
- Overrides:
getAcceptedMacroNames
in classorg.jenkinsci.plugins.tokenmacro.TokenMacro
-
evaluate
public String evaluate(AbstractBuild<?, ?> build, TaskListener listener, String macroName) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException- Specified by:
evaluate
in classorg.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
- Throws:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
InterruptedException
-
evaluate
public String evaluate(Run<?, ?> run, FilePath workspace, TaskListener listener, String macroName) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException- Overrides:
evaluate
in classorg.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
- Throws:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
InterruptedException
-
evaluate
public String evaluate(AbstractBuild<?, ?> build, TaskListener listener, String macroName, Map<String, throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedExceptionString> arguments, com.google.common.collect.ListMultimap<String, String> argumentMultiMap) - Overrides:
evaluate
in classorg.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
- Throws:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
InterruptedException
-
evaluate
public String evaluate(Run<?, ?> run, FilePath workspace, TaskListener listener, String macroName, Map<String, throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedExceptionString> arguments, com.google.common.collect.ListMultimap<String, String> argumentMultiMap) - Overrides:
evaluate
in classorg.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
- Throws:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
InterruptedException
-