public class ProjectURLContent extends Object implements EmailContent
EmailContent.Args
Constructor and Description |
---|
ProjectURLContent() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getArguments()
These are the arguments accepted when generating the content for this token.
|
<P extends hudson.model.AbstractProject<P,B>,B extends hudson.model.AbstractBuild<P,B>> |
getContent(hudson.model.AbstractBuild<P,B> build,
ExtendedEmailPublisher publisher,
EmailType emailType,
Map<String,?> args)
This method returns the generated content that should replace the token.
|
String |
getHelpText()
This is a string that will be rendered in the help section of the plugin.
|
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.
|
public String getToken()
EmailContent
getToken
in interface EmailContent
public List<String> getArguments()
EmailContent
getArguments
in interface EmailContent
public String getHelpText()
EmailContent
getHelpText
in interface EmailContent
public <P extends hudson.model.AbstractProject<P,B>,B extends hudson.model.AbstractBuild<P,B>> String getContent(hudson.model.AbstractBuild<P,B> build, ExtendedEmailPublisher publisher, EmailType emailType, Map<String,?> args)
EmailContent
getContent
in interface EmailContent
publisher
- TODOargs
- the arguments for generating the contentpublic boolean hasNestedContent()
EmailContent
hasNestedContent
in interface EmailContent
Copyright © 2004-2012. All Rights Reserved.