Class ChangesSinceLastBuildMacro
java.lang.Object
org.jenkinsci.plugins.tokenmacro.TokenMacro
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
org.jenkinsci.plugins.tokenmacro.impl.ChangesSinceLastBuildMacro
- All Implemented Interfaces:
ExtensionPoint
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
DataBoundTokenMacro.ParameterNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringbooleanbooleanFields inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
escapeHtml -
Constructor Summary
ConstructorsConstructorDescriptionChangesSinceLastBuildMacro(String format, String pathFormat, boolean showPaths) -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsMacroName(String macroName) Returns true if this object can evaluate the macro of the given name.evaluate(AbstractBuild<?, ?> build, TaskListener listener, String macroName) evaluate(Run<?, ?> run, FilePath workspace, TaskListener listener, String macroName) Methods inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
evaluate, evaluate, handlesHtmlEscapeInternally, hasNestedContentMethods inherited from class org.jenkinsci.plugins.tokenmacro.TokenMacro
all, expand, expand, expand, expand, expandAll, expandAll, expandAll, expandAll, getAutoCompleteList, getPreviousRun, getWorkspace
-
Field Details
-
FORMAT_DEFAULT_VALUE
- See Also:
-
PATH_FORMAT_DEFAULT_VALUE
- See Also:
-
FORMAT_DEFAULT_VALUE_WITH_PATHS
- See Also:
-
DEFAULT_DEFAULT_VALUE
- See Also:
-
MACRO_NAME
- See Also:
-
ALTERNATE_MACRO_NAME
- See Also:
-
showPaths
public boolean showPaths -
format
-
pathFormat
-
showDependencies
public boolean showDependencies -
dateFormat
-
regex
-
replace
-
def
-
-
Constructor Details
-
ChangesSinceLastBuildMacro
public ChangesSinceLastBuildMacro() -
ChangesSinceLastBuildMacro
-
-
Method Details
-
acceptsMacroName
Description copied from class:TokenMacroReturns true if this object can evaluate the macro of the given name.- Specified by:
acceptsMacroNamein classTokenMacro- Parameters:
macroName- By convention we encourage all caps name.- Returns:
- true
... to claim the macro of the given name and have
TokenMacro.evaluate(AbstractBuild, TaskListener, String, Map, ListMultimap)called.
-
getAcceptedMacroNames
- Overrides:
getAcceptedMacroNamesin classTokenMacro
-
evaluate
public String evaluate(AbstractBuild<?, ?> build, TaskListener listener, String macroName) throws MacroEvaluationException, IOException, InterruptedException- Specified by:
evaluatein classDataBoundTokenMacro- Throws:
MacroEvaluationExceptionIOExceptionInterruptedException
-
evaluate
public String evaluate(Run<?, ?> run, FilePath workspace, TaskListener listener, String macroName) throws MacroEvaluationException, IOException, InterruptedException- Overrides:
evaluatein classDataBoundTokenMacro- Throws:
MacroEvaluationExceptionIOExceptionInterruptedException
-