com.canoo.webtest.plugins.emailtest
Class AbstractSelectStep
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.canoo.webtest.steps.Step
com.canoo.webtest.plugins.emailtest.AbstractBaseStep
com.canoo.webtest.plugins.emailtest.AbstractStoreStep
com.canoo.webtest.plugins.emailtest.AbstractSelectStep
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- EmailStoreMessageCount, EmailStoreMessageId
public abstract class AbstractSelectStep
- extends AbstractStoreStep
Abstract class used by email steps needing to select one or more messages.
- Author:
- Paul King
- See Also:
- Serialized Form
| Methods inherited from class com.canoo.webtest.steps.Step |
addComputedParameters, clone, emptyParamCheck, execute, getComputedParameters, getContext, getDefaultPropertyType, getDescription, getDuration, getParameterDictionary, getStepLabel, getVerifier, getWebtestProperties, getWebtestProperties, getWebtestProperty, getWebtestProperty, handleException, hasDescription, integerParamCheck, isCompleted, isPerformingAction, isStarted, isSuccessful, notifyCompleted, notifyStarted, notifyStepResultsListeners, notifySuccess, nullParamCheck, nullResponseCheck, optionalIntegerParamCheck, paramCheck, positiveOrZeroParamCheck, setStepid, setWebtestProperty, setWebtestProperty, toString |
| 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 |
AbstractSelectStep
public AbstractSelectStep()
setSubject
public void setSubject(String value)
- Sets the Subject field.
- Parameters:
value - The Subject field
getSubject
public String getSubject()
setFrom
public void setFrom(String value)
- Sets the From field.
- Parameters:
value - The From field
getFrom
public String getFrom()
setTo
public void setTo(String value)
- Sets the To field.
- Parameters:
value - The To field
getTo
public String getTo()
setCc
public void setCc(String value)
- Sets the Cc field.
- Parameters:
value - The Cc field
getCc
public String getCc()
setReplyTo
public void setReplyTo(String value)
- Sets the ReplyTo field.
- Parameters:
value - The ReplyTo field
getReplyTo
public String getReplyTo()
retrieveMatchingMessages
protected javax.mail.Message[] retrieveMatchingMessages(javax.mail.Folder folder)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
isRegexMatch
protected static boolean isRegexMatch(String expected)