org.specrunner.plugins.core.elements
Class PluginLink
java.lang.Object
org.specrunner.parameters.core.ParameterHolder
org.specrunner.plugins.core.AbstractPlugin
org.specrunner.plugins.core.elements.AbstractPluginResource
org.specrunner.plugins.core.elements.AbstractPluginResourceReplaceable
org.specrunner.plugins.core.elements.PluginLink
- All Implemented Interfaces:
- IParameterHolder, IActionType, IParalelPlugin, IPlugin, ISleepPlugin, ITestPlugin, ITimedPlugin, IWaitPlugin
public class PluginLink
- extends AbstractPluginResourceReplaceable
Add resources of 'link' tags.
- Author:
- Thiago Santos
| 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 |
PluginLink
public PluginLink()
getHref
public String getHref()
- Get location.
- Returns:
- The link location.
setHref
public void setHref(String href)
- Set location.
- Parameters:
href - The location.
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.
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.