@Extension public class ChangesSinceLastBuildMacro extends DataBoundTokenMacro
Modifier and Type | Class and Description |
---|---|
class |
ChangesSinceLastBuildMacro.ChangesSincePrintfSpec |
DataBoundTokenMacro.Parameter
Modifier and Type | Field and Description |
---|---|
static String |
ALTERNATE_MACRO_NAME |
String |
dateFormat |
String |
def |
static String |
DEFAULT_DEFAULT_VALUE |
String |
format |
static String |
FORMAT_DEFAULT_VALUE |
static String |
FORMAT_DEFAULT_VALUE_WITH_PATHS |
static String |
MACRO_NAME |
static String |
PATH_FORMAT_DEFAULT_VALUE |
String |
pathFormat |
String |
regex |
String |
replace |
boolean |
showDependencies |
boolean |
showPaths |
Constructor and Description |
---|
ChangesSinceLastBuildMacro() |
ChangesSinceLastBuildMacro(String format,
String pathFormat,
boolean showPaths) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsMacroName(String macroName)
Returns true if this object can evaluate the macro of the given name.
|
String |
evaluate(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener,
String macroName) |
String |
evaluate(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
String macroName) |
List<String> |
getAcceptedMacroNames() |
evaluate, evaluate, hasNestedContent
all, expand, expand, expand, expand, expandAll, expandAll, expandAll, expandAll, getAutoCompleteList, getPreviousRun, getWorkspace
public static final String FORMAT_DEFAULT_VALUE
public static final String PATH_FORMAT_DEFAULT_VALUE
public static final String FORMAT_DEFAULT_VALUE_WITH_PATHS
public static final String DEFAULT_DEFAULT_VALUE
public static final String MACRO_NAME
public static final String ALTERNATE_MACRO_NAME
public boolean showPaths
public String format
public String pathFormat
public boolean showDependencies
public String dateFormat
public String regex
public String replace
public String def
public boolean acceptsMacroName(String macroName)
TokenMacro
acceptsMacroName
in class TokenMacro
macroName
- By convention we encourage all caps name.TokenMacro.evaluate(AbstractBuild, TaskListener, String, Map, ListMultimap)
called.public List<String> getAcceptedMacroNames()
getAcceptedMacroNames
in class TokenMacro
public String evaluate(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener, String macroName) throws MacroEvaluationException, IOException, InterruptedException
evaluate
in class DataBoundTokenMacro
MacroEvaluationException
IOException
InterruptedException
public String evaluate(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.model.TaskListener listener, String macroName) throws MacroEvaluationException, IOException, InterruptedException
evaluate
in class DataBoundTokenMacro
MacroEvaluationException
IOException
InterruptedException
Copyright © 2016–2021. All rights reserved.