public class FeatureStateImpl extends java.lang.Object implements FeatureState
| Constructor and Description |
|---|
FeatureStateImpl(UrlMapping url,
java.util.Map<java.lang.String,java.lang.String> dataset,
java.lang.String reportDirectory,
java.util.List<ProxyDetails<?>> proxies) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoAlias() |
java.util.Map<java.lang.String,java.lang.String> |
getDataSet() |
int |
getDefaultKeyStrokeDelay() |
long |
getDefaultSleep() |
long |
getDefaultWait() |
boolean |
getFailed() |
java.util.List<ProxyDetails<?>> |
getProxyInterface() |
java.util.Optional<ProxyDetails<?>> |
getProxyInterface(java.lang.String name) |
java.lang.String |
getReportDirectory() |
boolean |
getSkipSteps() |
java.util.Optional<UrlMapping> |
getUrlDetails() |
void |
setAutoAlias(boolean autoAlias) |
void |
setDataSet(java.util.Map<java.lang.String,java.lang.String> dataSet) |
void |
setDefaultKeyStrokeDelay(int defaultKeyStrokeDelay) |
void |
setDefaultSleep(long defaultSleep) |
void |
setDefaultWait(long myWait) |
void |
setFailed(boolean failed) |
void |
setProxyInterface(java.util.List<ProxyDetails<?>> myProxies) |
void |
setSkipSteps(boolean skipSteps) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFeatureStateForThreadpublic FeatureStateImpl(UrlMapping url, @NotNull java.util.Map<java.lang.String,java.lang.String> dataset, @NotNull java.lang.String reportDirectory, @NotNull java.util.List<ProxyDetails<?>> proxies)
public void setDefaultSleep(long defaultSleep)
setDefaultSleep in interface FeatureStatedefaultSleep - How long to sleep between stepspublic long getDefaultSleep()
getDefaultSleep in interface FeatureStatepublic java.util.Optional<UrlMapping> getUrlDetails()
getUrlDetails in interface FeatureStatepublic java.util.Map<java.lang.String,java.lang.String> getDataSet()
getDataSet in interface FeatureStatepublic void setDataSet(java.util.Map<java.lang.String,java.lang.String> dataSet)
setDataSet in interface FeatureStatedataSet - The data set associated with this instance of the testpublic boolean getFailed()
getFailed in interface FeatureStatepublic void setFailed(boolean failed)
setFailed in interface FeatureStatefailed - true if there was a failed scenario, and false otherwisepublic java.lang.String getReportDirectory()
getReportDirectory in interface FeatureStatepublic java.util.List<ProxyDetails<?>> getProxyInterface()
getProxyInterface in interface FeatureStatepublic java.util.Optional<ProxyDetails<?>> getProxyInterface(@NotNull java.lang.String name)
getProxyInterface in interface FeatureStatename - The name of the proxy to findpublic void setProxyInterface(java.util.List<ProxyDetails<?>> myProxies)
setProxyInterface in interface FeatureStatemyProxies - The optional details of the proxy being usedpublic boolean getAutoAlias()
getAutoAlias in interface FeatureStatepublic void setAutoAlias(boolean autoAlias)
setAutoAlias in interface FeatureStateautoAlias - true if autoalias is enabled, and false otherwisepublic boolean getSkipSteps()
getSkipSteps in interface FeatureStatepublic void setSkipSteps(boolean skipSteps)
setSkipSteps in interface FeatureStateskipSteps - true if all steps are to be skipped, false otherwisepublic int getDefaultKeyStrokeDelay()
getDefaultKeyStrokeDelay in interface FeatureStatepublic void setDefaultKeyStrokeDelay(int defaultKeyStrokeDelay)
setDefaultKeyStrokeDelay in interface FeatureStatedefaultKeyStrokeDelay - The default amount of time to wait between keypresses in textboxes
and other text input fieldspublic long getDefaultWait()
getDefaultWait in interface FeatureStatepublic void setDefaultWait(long myWait)
setDefaultWait in interface FeatureStatemyWait - the amount of time to wait for an element to be available before
completing a step.