|
|||||||||
| 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
com.canoo.webtest.steps.Step
com.canoo.webtest.plugins.emailtest.EmailSetConfig
public class EmailSetConfig
Sets Email Configuration information.
| Field Summary |
|---|
| Fields inherited from class com.canoo.webtest.steps.Step |
|---|
DEFAULT_DESCRIPTION, ELEMENT_ATTRIBUTE_ID, ELEMENT_ATTRIBUTE_NAME, PROPERTY_TYPE_ANT, PROPERTY_TYPE_ANT_STRICT, PROPERTY_TYPE_DEFAULT, PROPERTY_TYPE_DYNAMIC |
| 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 | |
|---|---|
EmailSetConfig()
|
|
| Method Summary | |
|---|---|
void |
doExecute()
Called to perform the step's functionality. |
String |
getDelay()
|
Map |
getParameterDictionary()
Gets a snapshot of the values. |
String |
getPassword()
|
String |
getServer()
|
String |
getType()
|
String |
getUsername()
|
void |
setDelay(String delay)
Sets the delay to use between email steps. |
void |
setPassword(String password)
Sets the email account password. |
void |
setServer(String server)
Sets the email server. |
void |
setType(String type)
Sets the email server type. |
void |
setUsername(String username)
Sets the email account username. |
protected void |
verifyParameters()
Called to let the step's implementation validate its parameters. |
| 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 |
|---|
getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EmailSetConfig()
| Method Detail |
|---|
public String getServer()
public void setServer(String server)
server - The Server domain name (and optional port)public String getType()
public void setType(String type)
type - The server typepublic String getUsername()
public void setDelay(String delay)
delay - The delay between operaitons in secondspublic String getDelay()
public void setUsername(String username)
username - public String getPassword()
public void setPassword(String password)
password -
public void doExecute()
throws Exception
Step
doExecute in class StepExceptionprotected void verifyParameters()
StepStep.doExecute().
This implementation does nothing, overwrite as needed.
verifyParameters in class Steppublic Map getParameterDictionary()
StepThis method returns all the parameters that were discovered at build time and stored in the .attributes resource. Overwrite this method if your step doesn't have a .attributes resource
getParameterDictionary in class Step
|
Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||