|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
org.ow2.jonas.antmodular.jonasbase.mail.Mail
public class Mail
Allow to create mail factory.
| Field Summary |
|---|
| Fields inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask |
|---|
CONF_DIR, destDir, jonasRoot, skipOptionalDeployablesCopy, tasks |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
Mail()
|
|
| Method Summary | |
|---|---|
void |
execute()
Execute this task. |
void |
setHost(String host)
Sets the host of mail server. |
void |
setMailTo(String mailTo)
Sets the recipient (MimePartDataSource). |
void |
setName(String name)
Sets the name. |
void |
setSubject(String subject)
Sets the subject (MimePartDataSource). |
void |
setType(String type)
Sets the type of factory. |
| Methods inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask |
|---|
addTask, addTasks, copyTemplateDeployables, createServiceNameReplace, executeAllTask, getJOnASBase, getJOnASRoot, getTasks, setDestDir, setSkipOptionalDeployablesCopy |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mail()
| Method Detail |
|---|
public void setMailTo(String mailTo)
mailTo - recipient.public void setName(String name)
name - name of the factorypublic void setSubject(String subject)
subject - of the mailpublic void setType(String type)
type - of factorypublic void setHost(String host)
host - host of mail serverpublic void execute()
execute in class AbstractJOnASBaseAntTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||