@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() |
boolean |
hasNestedContent()
Returns true if this object allows for nested content replacements.
|
evaluate, evaluateall, expand, expand, expand, expand, expandAll, expandAll, expandAll, expandAll, getAutoCompleteList, getPreviousRun, getWorkspacepublic 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)
TokenMacroacceptsMacroName in class TokenMacromacroName - By convention we encourage all caps name.TokenMacro.evaluate(AbstractBuild, TaskListener, String, Map, ListMultimap) called.public List<String> getAcceptedMacroNames()
getAcceptedMacroNames in class TokenMacropublic String evaluate(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener, String macroName) throws MacroEvaluationException, IOException, InterruptedException
evaluate in class DataBoundTokenMacroMacroEvaluationExceptionIOExceptionInterruptedExceptionpublic String evaluate(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.model.TaskListener listener, String macroName) throws MacroEvaluationException, IOException, InterruptedException
evaluate in class DataBoundTokenMacroMacroEvaluationExceptionIOExceptionInterruptedExceptionpublic boolean hasNestedContent()
TokenMacrohasNestedContent in class DataBoundTokenMacroTokenMacro.expand(AbstractBuild, TaskListener, String) for additional expansion.Copyright © 2016. All rights reserved.