org.specrunner.plugins.core.elements
Class PluginImg

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
                      extended by org.specrunner.plugins.core.elements.PluginImg
All Implemented Interfaces:
IParameterHolder, IActionType, IParalelPlugin, IPlugin, ISleepPlugin, ITestPlugin, ITimedPlugin, IWaitPlugin

public class PluginImg
extends AbstractPluginResourceReplaceableSrc

Plugin to add image 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
PluginImg()
           
 
Method Summary
protected  void addResource(ISource source, String path, nu.xom.Element element)
          Add the resource as a reference.
 
Methods inherited from class org.specrunner.plugins.core.elements.AbstractPluginResourceReplaceableSrc
getReferenceName, getReferenceValue, getSrc, setSrc
 
Methods inherited from class org.specrunner.plugins.core.elements.AbstractPluginResourceReplaceable
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

PluginImg

public PluginImg()
Method Detail

addResource

protected void addResource(ISource source,
                           String path,
                           nu.xom.Element element)
Description copied from class: AbstractPluginResourceReplaceable
Add the resource as a reference.

Specified by:
addResource in class AbstractPluginResourceReplaceable
Parameters:
source - The source.
path - The target path.
element - The resource element.


Copyright © 2014. All rights reserved.