org.specrunner.plugins.core.elements
Class AbstractPluginResourceReplaceableSrc

java.lang.Object
  extended by org.specrunner.parameters.core.ParameterHolder
      extended by org.specrunner.plugins.core.AbstractPlugin
          extended by org.specrunner.plugins.core.elements.AbstractPluginResource
              extended by org.specrunner.plugins.core.elements.AbstractPluginResourceReplaceable
                  extended by org.specrunner.plugins.core.elements.AbstractPluginResourceReplaceableSrc
All Implemented Interfaces:
IParameterHolder, IActionType, IParalelPlugin, IPlugin, ISleepPlugin, ITestPlugin, ITimedPlugin, IWaitPlugin
Direct Known Subclasses:
PluginImg, PluginScript

public abstract class AbstractPluginResourceReplaceableSrc
extends AbstractPluginResourceReplaceable

Plugin to replace 'src' resources.

Author:
Thiago Santos

Field Summary
 
Fields inherited from class org.specrunner.plugins.core.elements.AbstractPluginResourceReplaceable
pathToFile, serialNumber
 
Fields inherited from class org.specrunner.plugins.core.elements.AbstractPluginResource
FEATURE_SAVE
 
Fields inherited from class org.specrunner.plugins.core.AbstractPlugin
FEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAIT
 
Constructor Summary
AbstractPluginResourceReplaceableSrc()
           
 
Method Summary
protected  String getReferenceName()
          Get attribute reference name.
protected  String getReferenceValue()
          Get the previous attribute value.
 String getSrc()
          The source attribute.
 void setSrc(String src)
          Set source object.
 
Methods inherited from class org.specrunner.plugins.core.elements.AbstractPluginResourceReplaceable
addResource, doStart, getActionType, replaceName
 
Methods inherited from class org.specrunner.plugins.core.elements.AbstractPluginResource
getSave, initialize, isSave, setSave
 
Methods inherited from class org.specrunner.plugins.core.AbstractPlugin
copy, doEnd, getCondition, getConditionModel, getNormalized, getNormalized, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, setCondition, setConditionModel, setNormalized, 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
 

Constructor Detail

AbstractPluginResourceReplaceableSrc

public AbstractPluginResourceReplaceableSrc()
Method Detail

getSrc

public String getSrc()
The source attribute.

Returns:
The source.

setSrc

public void setSrc(String src)
Set source object.

Parameters:
src - The source.

getReferenceName

protected String getReferenceName()
Description copied from class: AbstractPluginResourceReplaceable
Get attribute reference name.

Specified by:
getReferenceName in class AbstractPluginResourceReplaceable
Returns:
The attribute name.

getReferenceValue

protected String getReferenceValue()
Description copied from class: AbstractPluginResourceReplaceable
Get the previous attribute value.

Specified by:
getReferenceValue in class AbstractPluginResourceReplaceable
Returns:
The attribute (reference) value.


Copyright © 2014. All rights reserved.