Class TemplateContent
java.lang.Object
org.jenkinsci.plugins.tokenmacro.TokenMacro
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
hudson.plugins.emailext.plugins.content.AbstractEvalContent
hudson.plugins.emailext.plugins.content.TemplateContent
- All Implemented Interfaces:
ExtensionPoint
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.Parameter
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.plugins.emailext.plugins.content.AbstractEvalContent
EMAIL_TEMPLATES_DIRECTORY, macroName
Fields inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
escapeHtml
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(AbstractBuild<?, ?> build, TaskListener listener, String macroName) evaluate
(Run<?, ?> run, FilePath workspace, TaskListener listener, String macroName) protected Class<? extends org.jenkinsci.lib.configprovider.ConfigProvider>
boolean
Methods inherited from class hudson.plugins.emailext.plugins.content.AbstractEvalContent
acceptsMacroName, generateMissingFile, getCharset, getFileInputStream, isApprovedScript, isChildOf, scriptsFolder
Methods inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
evaluate, evaluate, handlesHtmlEscapeInternally
Methods inherited from class org.jenkinsci.plugins.tokenmacro.TokenMacro
all, expand, expand, expand, expand, expandAll, expandAll, expandAll, expandAll, getAcceptedMacroNames, getAutoCompleteList, getPreviousRun, getWorkspace
-
Field Details
-
file
-
MACRO_NAME
- See Also:
-
-
Constructor Details
-
TemplateContent
public TemplateContent()
-
-
Method Details
-
evaluate
public String evaluate(AbstractBuild<?, ?> build, TaskListener listener, String macroName) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException- Overrides:
evaluate
in classAbstractEvalContent
- Throws:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
InterruptedException
-
evaluate
public String evaluate(Run<?, ?> run, FilePath workspace, TaskListener listener, String macroName) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException- Specified by:
evaluate
in classAbstractEvalContent
- Throws:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
InterruptedException
-
getProviderClass
- Specified by:
getProviderClass
in classAbstractEvalContent
-
hasNestedContent
public boolean hasNestedContent()- Overrides:
hasNestedContent
in classAbstractEvalContent
-