Class ChangesSinceLastSuccessfulBuildMacro
- java.lang.Object
-
- org.jenkinsci.plugins.tokenmacro.TokenMacro
-
- org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
-
- org.jenkinsci.plugins.tokenmacro.impl.AbstractChangesSinceMacro
-
- org.jenkinsci.plugins.tokenmacro.impl.ChangesSinceLastSuccessfulBuildMacro
-
- All Implemented Interfaces:
hudson.ExtensionPoint
@Extension public class ChangesSinceLastSuccessfulBuildMacro extends AbstractChangesSinceMacro
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
DataBoundTokenMacro.Parameter
-
-
Field Summary
Fields Modifier and Type Field Description static StringMACRO_NAME-
Fields inherited from class org.jenkinsci.plugins.tokenmacro.impl.AbstractChangesSinceMacro
changesFormat, dateFormat, def, format, pathFormat, regex, replace, reverse, showDependencies, showPaths
-
-
Constructor Summary
Constructors Constructor Description ChangesSinceLastSuccessfulBuildMacro()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsMacroName(String macroName)Returns true if this object can evaluate the macro of the given name.List<String>getAcceptedMacroNames()StringgetDefaultFormatValue()hudson.model.Run<?,?>getFirstIncludedRun(hudson.model.Run<?,?> build, hudson.model.TaskListener listener)StringgetShortHelpDescription()-
Methods inherited from class org.jenkinsci.plugins.tokenmacro.impl.AbstractChangesSinceMacro
evaluate, evaluate
-
Methods inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
evaluate, evaluate, hasNestedContent
-
Methods inherited from class org.jenkinsci.plugins.tokenmacro.TokenMacro
all, expand, expand, expand, expand, expandAll, expandAll, expandAll, expandAll, getAutoCompleteList, getPreviousRun, getWorkspace
-
-
-
-
Field Detail
-
MACRO_NAME
public static final String MACRO_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
acceptsMacroName
public boolean acceptsMacroName(String macroName)
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
public List<String> getAcceptedMacroNames()
- Overrides:
getAcceptedMacroNamesin classTokenMacro
-
getDefaultFormatValue
public String getDefaultFormatValue()
- Specified by:
getDefaultFormatValuein classAbstractChangesSinceMacro
-
getShortHelpDescription
public String getShortHelpDescription()
- Specified by:
getShortHelpDescriptionin classAbstractChangesSinceMacro
-
getFirstIncludedRun
public hudson.model.Run<?,?> getFirstIncludedRun(hudson.model.Run<?,?> build, hudson.model.TaskListener listener)- Specified by:
getFirstIncludedRunin classAbstractChangesSinceMacro
-
-