Package org.jenkinsci.plugins.tokenmacro
Class Parser
- java.lang.Object
-
- org.jenkinsci.plugins.tokenmacro.Parser
-
public class Parser extends Object
Created by acearl on 3/6/2016.
-
-
Constructor Summary
Constructors Constructor Description Parser(Run<?,?> run, FilePath workspace, TaskListener listener, String stringWithMacro, boolean throwException)
Parser(Run<?,?> run, FilePath workspace, TaskListener listener, String stringWithMacro, boolean throwException, int recursionLevel)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
process(AbstractBuild<?,?> build, TaskListener listener, String stringWithMacro, boolean throwException, List<TokenMacro> privateTokens)
static String
process(Run<?,?> run, FilePath workspace, TaskListener listener, String stringWithMacro, boolean throwException, List<TokenMacro> privateTokens)
static String
unescapeString(String escapedString)
Replaces all the printf-style escape sequences in a string with the appropriate characters.
-
-
-
Constructor Detail
-
Parser
public Parser(Run<?,?> run, FilePath workspace, TaskListener listener, String stringWithMacro, boolean throwException)
-
Parser
public Parser(Run<?,?> run, FilePath workspace, TaskListener listener, String stringWithMacro, boolean throwException, int recursionLevel)
-
-
Method Detail
-
process
public static String process(AbstractBuild<?,?> build, TaskListener listener, String stringWithMacro, boolean throwException, List<TokenMacro> privateTokens) throws MacroEvaluationException
- Throws:
MacroEvaluationException
-
process
public static String process(Run<?,?> run, FilePath workspace, TaskListener listener, String stringWithMacro, boolean throwException, List<TokenMacro> privateTokens) throws MacroEvaluationException
- Throws:
MacroEvaluationException
-
-