|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EmailContent
| Nested Class Summary | |
|---|---|
static class |
EmailContent.Args
|
| Method Summary | ||
|---|---|---|
java.util.List<java.lang.String> |
getArguments()
These are the arguments accepted when generating the content for this token. |
|
|
getContent(hudson.model.AbstractBuild<P,B> build,
ExtendedEmailPublisher publisher,
EmailType emailType,
java.util.Map<java.lang.String,?> args)
This method returns the generated content that should replace the token. |
|
java.lang.String |
getHelpText()
This is a string that will be rendered in the help section of the plugin. |
|
java.lang.String |
getToken()
This is the token that will be replaced by the content when the email is sent. |
|
boolean |
hasNestedContent()
Specifies whether or not the content returned by this object can have nested tokens in it that need to be resolved before sending the email. |
|
| Method Detail |
|---|
java.lang.String getToken()
java.util.List<java.lang.String> getArguments()
java.lang.String getHelpText()
<P extends hudson.model.AbstractProject<P,B>,B extends hudson.model.AbstractBuild<P,B>> java.lang.String getContent(hudson.model.AbstractBuild<P,B> build,
ExtendedEmailPublisher publisher,
EmailType emailType,
java.util.Map<java.lang.String,?> args)
throws java.io.IOException,
java.lang.InterruptedException
publisher - TODOargs - the arguments for generating the content
java.io.IOException
java.lang.InterruptedExceptionboolean hasNestedContent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||