|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.parameters.core.ParameterHolder
org.specrunner.plugins.core.AbstractPlugin
org.specrunner.plugins.core.elements.AbstractPluginResource
public abstract class AbstractPluginResource
Helper class for resources plugins.
| Field Summary | |
|---|---|
static String |
FEATURE_SAVE
Default behavior is save resources. |
protected Boolean |
save
Set the save status. |
| Fields inherited from class org.specrunner.plugins.core.AbstractPlugin |
|---|
FEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAIT |
| Fields inherited from class org.specrunner.parameters.core.ParameterHolder |
|---|
parameters |
| Constructor Summary | |
|---|---|
protected |
AbstractPluginResource()
Constructor. |
| Method Summary | |
|---|---|
Boolean |
getSave()
Return true, if resources like CSS/JS should saved on error report. |
void |
initialize(IContext context)
Initialize the plugin. |
protected boolean |
isSave()
Check if save enabled or not. |
void |
setSave(Boolean save)
Set save state. |
| Methods inherited from class org.specrunner.plugins.core.AbstractPlugin |
|---|
copy, doEnd, doStart, getCondition, getConditionModel, getNormalized, getNormalized, getNormalizer, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, setCondition, setConditionModel, setNormalized, setNormalizer, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModel, toString |
| Methods inherited from class org.specrunner.parameters.core.ParameterHolder |
|---|
getParameters, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.specrunner.parameters.IParameterHolder |
|---|
getParameters, setParameters |
| Methods inherited from interface org.specrunner.plugins.IActionType |
|---|
getActionType |
| Field Detail |
|---|
public static final String FEATURE_SAVE
protected Boolean save
| Constructor Detail |
|---|
protected AbstractPluginResource()
| Method Detail |
|---|
public Boolean getSave()
public void setSave(Boolean save)
save - The new state.protected boolean isSave()
public void initialize(IContext context)
throws PluginException
IPlugin
initialize in interface IPlugininitialize in class AbstractPlugincontext - The test context.
PluginException - On initialization errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||