ch.fortysix.maven.plugin.postaman.AbstractSenderMojo Maven / Gradle / Ivy
//
// Generated stub from file:/Users/domi/tools/hudson/jobs/maven-postman-plugin/workspace/maven-postman-plugin/target/checkout/src/main/groovy/ch/fortysix/maven/plugin/postaman/AbstractSenderMojo.groovy
//
package ch.fortysix.maven.plugin.postaman;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.util.*;
import groovy.lang.*;
import groovy.util.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.io.File;
import java.util.Set;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.codehaus.gmaven.mojo.GroovyMojo;
import ch.fortysix.maven.plugin.util.MailSenderContext;
import ch.fortysix.maven.report.support.MailSender;
abstract public class AbstractSenderMojo
extends GroovyMojo
implements groovy.lang.GroovyObject
{
/**
* @parameter expression="${session}"
* @required
* @readonly
*/
private org.apache.maven.execution.MavenSession session = null;
public org.apache.maven.execution.MavenSession getSession() {
throw new InternalError("Stubbed method");
}
public void setSession(org.apache.maven.execution.MavenSession value) {
throw new InternalError("Stubbed method");
}
/**
* Encoding of the source.
* Advice is taken from: POM Element for Source File Encoding
*
* @parameter expression="${encoding}" default-value="${project.build.sourceEncoding}"
*/
private java.lang.String sourceEncoding = null;
public java.lang.String getSourceEncoding() {
throw new InternalError("Stubbed method");
}
public void setSourceEncoding(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* Indicates whether this report should skip the sending mails (no mails send).
*
* @parameter default-value="false"
*/
private boolean skip = false;
public boolean getSkip() {
throw new InternalError("Stubbed method");
}
public boolean isSkip() {
throw new InternalError("Stubbed method");
}
public void setSkip(boolean value) {
throw new InternalError("Stubbed method");
}
/**
* @parameter expression="${project}"
* @required
* @readonly
*/
private org.apache.maven.project.MavenProject project = null;
public org.apache.maven.project.MavenProject getProject() {
throw new InternalError("Stubbed method");
}
public void setProject(org.apache.maven.project.MavenProject value) {
throw new InternalError("Stubbed method");
}
/**
* Indicates whether you need TLS/SSL
*
* @parameter default-value="false"
*/
private boolean mailssl = false;
public boolean getMailssl() {
throw new InternalError("Stubbed method");
}
public boolean isMailssl() {
throw new InternalError("Stubbed method");
}
public void setMailssl(boolean value) {
throw new InternalError("Stubbed method");
}
/**
* Indicates to use an alternative way to configure the ssl connection to the smtp server.
* This might be needed in specific environments.
*
* @parameter default-value="false"
*/
private boolean mailAltConfig = false;
public boolean getMailAltConfig() {
throw new InternalError("Stubbed method");
}
public boolean isMailAltConfig() {
throw new InternalError("Stubbed method");
}
public void setMailAltConfig(boolean value) {
throw new InternalError("Stubbed method");
}
/**
* Host name of the SMTP server. The default value is localhost.
*
* @parameter expression="${mailhost}" default-value="localhost"
*/
private java.lang.String mailhost = null;
public java.lang.String getMailhost() {
throw new InternalError("Stubbed method");
}
public void setMailhost(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* TCP port of the SMTP server. The default value is 25.
*
* @parameter expression="${mailport}" default-value="25"
*/
private java.lang.String mailport = null;
public java.lang.String getMailport() {
throw new InternalError("Stubbed method");
}
public void setMailport(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* User name for SMTP auth
*
* @parameter
*/
private java.lang.String mailuser = null;
public java.lang.String getMailuser() {
throw new InternalError("Stubbed method");
}
public void setMailuser(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* Password for SMTP auth
*
* @parameter
*/
private java.lang.String mailpassword = null;
public java.lang.String getMailpassword() {
throw new InternalError("Stubbed method");
}
public void setMailpassword(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* Email subject line.
*
* @parameter default-value="[${project.artifactId}]"
*/
private java.lang.String subject = null;
public java.lang.String getSubject() {
throw new InternalError("Stubbed method");
}
public void setSubject(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* Email address of sender.
*
* @parameter
* @required
*/
private java.lang.String from = null;
public java.lang.String getFrom() {
throw new InternalError("Stubbed method");
}
public void setFrom(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* Who should receive a mail? One can use an id of a developer registered in the pom or an email address directly.
*
* <receivers>
* <receiver>developerId</receiver>
* <receiver>[email protected]</receiver>
* </receivers>
*
*
* @parameter
* @required
*/
private Set receivers = null;
public Set getReceivers() {
throw new InternalError("Stubbed method");
}
public void setReceivers(Set value) {
throw new InternalError("Stubbed method");
}
/**
* Report output directory. Note that this parameter is only relevant if the goal is run from the command line or
* from the default build lifecycle. If the goal is run indirectly as part of a site generation, the output
* directory configured in the Maven Site Plugin is used instead.
*
* @parameter default-value="${project.reporting.outputDirectory}"
*/
private File outputDirectory = null;
public File getOutputDirectory() {
throw new InternalError("Stubbed method");
}
public void setOutputDirectory(File value) {
throw new InternalError("Stubbed method");
}
/**
* flag to indicate whether to halt the build on any error. The default value is true.
*
* @parameter default-value="true"
*/
private boolean failonerror = false;
public boolean getFailonerror() {
throw new InternalError("Stubbed method");
}
public boolean isFailonerror() {
throw new InternalError("Stubbed method");
}
public void setFailonerror(boolean value) {
throw new InternalError("Stubbed method");
}
/**
* The content type to use for the message.
* This is only the fallback contenttype if the environment does not support 'multipart/alternative'.
*
* @parameter default-value="text/html"
*/
private java.lang.String mailcontenttype = null;
public java.lang.String getMailcontenttype() {
throw new InternalError("Stubbed method");
}
public void setMailcontenttype(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* Whether 'multipart/alternative' mails can be send.
* This is detected automatically, but it allows a user to disable it and force the usage of 'mailcontenttype'.
*
* @parameter default-value="true"
*/
private boolean multipartSupported = false;
public boolean getMultipartSupported() {
throw new InternalError("Stubbed method");
}
public boolean isMultipartSupported() {
throw new InternalError("Stubbed method");
}
public void setMultipartSupported(boolean value) {
throw new InternalError("Stubbed method");
}
/**
* Sends the emails...
*/
private java.lang.Object mailSender = null;
public java.lang.Object getMailSender() {
throw new InternalError("Stubbed method");
}
public void setMailSender(java.lang.Object value) {
throw new InternalError("Stubbed method");
}
/**
* The text message to be send
*
* @parameter default-value="build for ${project.groupId}:${project.artifactId}:${project.version} executed"
*/
private java.lang.String textMessage = null;
public java.lang.String getTextMessage() {
throw new InternalError("Stubbed method");
}
public void setTextMessage(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* The html message body to be send
*
* @parameter default-value="build for ${project.groupId}:${project.artifactId}:${project.version} executed"
*/
private java.lang.String htmlMessage = null;
public java.lang.String getHtmlMessage() {
throw new InternalError("Stubbed method");
}
public void setHtmlMessage(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* The text message body to be send, if set the content of this will replace the textMessage
.
*
* @parameter
*/
private File textMessageFile = null;
public File getTextMessageFile() {
throw new InternalError("Stubbed method");
}
public void setTextMessageFile(File value) {
throw new InternalError("Stubbed method");
}
/**
* The html message body to be send, if set the content of this will replace the htmlMessage
.
*
* @parameter
*/
private File htmlMessageFile = null;
public File getHtmlMessageFile() {
throw new InternalError("Stubbed method");
}
public void setHtmlMessageFile(File value) {
throw new InternalError("Stubbed method");
}
protected MailSenderContext context = null;
public void execute() throws MojoExecutionException, MojoFailureException {
throw new InternalError("Stubbed method");
}
/**
* prepare the mojo and tell whether the execution should be triggered or not
*/
protected abstract boolean prepareMojo();
/**
* Execute the mojo
*/
protected abstract void executeMojo() throws MojoExecutionException, MojoFailureException;
public groovy.lang.MetaClass getMetaClass() {
throw new InternalError("Stubbed method");
}
public void setMetaClass(groovy.lang.MetaClass metaClass) {
throw new InternalError("Stubbed method");
}
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
throw new InternalError("Stubbed method");
}
public java.lang.Object getProperty(java.lang.String name) {
throw new InternalError("Stubbed method");
}
public void setProperty(java.lang.String name, java.lang.Object value) {
throw new InternalError("Stubbed method");
}
}