Class AbstractChangesSinceMacro
- java.lang.Object
-
- org.jenkinsci.plugins.tokenmacro.TokenMacro
-
- org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
-
- org.jenkinsci.plugins.tokenmacro.impl.AbstractChangesSinceMacro
-
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
ChangesSinceLastSuccessfulBuildMacro
,ChangesSinceLastUnstableBuildMacro
public abstract class AbstractChangesSinceMacro extends DataBoundTokenMacro
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
DataBoundTokenMacro.Parameter
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description String
changesFormat
String
dateFormat
String
def
String
format
String
pathFormat
String
regex
String
replace
boolean
reverse
boolean
showDependencies
boolean
showPaths
-
Fields inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
escapeHtml
-
-
Constructor Summary
Constructors Constructor Description AbstractChangesSinceMacro()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
evaluate(AbstractBuild<?,?> build, TaskListener listener, String macroName)
String
evaluate(Run<?,?> run, FilePath workspace, TaskListener listener, String macroName)
abstract String
getDefaultFormatValue()
abstract Run<?,?>
getFirstIncludedRun(Run<?,?> build, TaskListener listener)
abstract String
getShortHelpDescription()
-
Methods inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
evaluate, evaluate, handlesHtmlEscapeInternally, hasNestedContent
-
Methods inherited from class org.jenkinsci.plugins.tokenmacro.TokenMacro
acceptsMacroName, all, expand, expand, expand, expand, expandAll, expandAll, expandAll, expandAll, getAcceptedMacroNames, getAutoCompleteList, getPreviousRun, getWorkspace
-
-
-
-
Field Detail
-
reverse
public boolean reverse
-
format
public String format
-
showPaths
public boolean showPaths
-
changesFormat
public String changesFormat
-
pathFormat
public String pathFormat
-
showDependencies
public boolean showDependencies
-
dateFormat
public String dateFormat
-
regex
public String regex
-
replace
public String replace
-
def
public String def
-
-
Method Detail
-
evaluate
public String evaluate(AbstractBuild<?,?> build, TaskListener listener, String macroName) throws MacroEvaluationException, IOException, InterruptedException
- Specified by:
evaluate
in classDataBoundTokenMacro
- Throws:
MacroEvaluationException
IOException
InterruptedException
-
evaluate
public String evaluate(Run<?,?> run, FilePath workspace, TaskListener listener, String macroName) throws MacroEvaluationException, IOException, InterruptedException
- Overrides:
evaluate
in classDataBoundTokenMacro
- Throws:
MacroEvaluationException
IOException
InterruptedException
-
getDefaultFormatValue
public abstract String getDefaultFormatValue()
-
getShortHelpDescription
public abstract String getShortHelpDescription()
-
getFirstIncludedRun
public abstract Run<?,?> getFirstIncludedRun(Run<?,?> build, TaskListener listener)
-
-