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.ParameterNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.plugins.emailext.plugins.content.AbstractEvalContent
EMAIL_TEMPLATES_DIRECTORY, macroNameFields inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
escapeHtml -
Constructor Summary
Constructors -
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>booleanMethods inherited from class hudson.plugins.emailext.plugins.content.AbstractEvalContent
acceptsMacroName, generateMissingFile, getCharset, getFileInputStream, isApprovedScript, isChildOf, scriptsFolderMethods inherited from class org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
evaluate, evaluate, handlesHtmlEscapeInternallyMethods 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:
evaluatein classAbstractEvalContent- Throws:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationExceptionIOExceptionInterruptedException
-
evaluate
public String evaluate(Run<?, ?> run, FilePath workspace, TaskListener listener, String macroName) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException- Specified by:
evaluatein classAbstractEvalContent- Throws:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationExceptionIOExceptionInterruptedException
-
getProviderClass
- Specified by:
getProviderClassin classAbstractEvalContent
-
hasNestedContent
public boolean hasNestedContent()- Overrides:
hasNestedContentin classAbstractEvalContent
-