public abstract class AbstractChangesSinceContent extends Object implements EmailContent
EmailContent.Args
Modifier and Type | Field and Description |
---|---|
static String |
CHANGES_FORMAT_ARG_NAME |
static String |
FORMAT_ARG_NAME |
static String |
PATH_FORMAT_ARG_NAME |
static String |
REVERSE_ARG_NAME |
static boolean |
REVERSE_DEFAULT_VALUE |
static String |
SHOW_PATHS_ARG_NAME |
Constructor and Description |
---|
AbstractChangesSinceContent() |
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.
|
abstract String |
getDefaultFormatValue() |
abstract <P extends hudson.model.AbstractProject<P,B>,B extends hudson.model.AbstractBuild<P,B>> |
getFirstIncludedBuild(hudson.model.AbstractBuild<P,B> build) |
String |
getHelpText()
This is a string that will be rendered in the help section of the plugin.
|
abstract String |
getShortHelpDescription() |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getToken
public static final String REVERSE_ARG_NAME
public static final boolean REVERSE_DEFAULT_VALUE
public static final String FORMAT_ARG_NAME
public static final String SHOW_PATHS_ARG_NAME
public static final String CHANGES_FORMAT_ARG_NAME
public static final String PATH_FORMAT_ARG_NAME
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
public abstract String getDefaultFormatValue()
public abstract String getShortHelpDescription()
public abstract <P extends hudson.model.AbstractProject<P,B>,B extends hudson.model.AbstractBuild<P,B>> hudson.model.AbstractBuild<P,B> getFirstIncludedBuild(hudson.model.AbstractBuild<P,B> build)
Copyright © 2004-2012. All Rights Reserved.