public abstract class AbstractPluginResourceReplaceable extends AbstractPluginResource
| Modifier and Type | Field and Description |
|---|---|
protected static ICache<String,String> |
pathToFile
Cache of resources per output file.
|
protected static ThreadLocal<Integer> |
serialNumber
Static sequential number.
|
FEATURE_SAVE, saveFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Constructor and Description |
|---|
AbstractPluginResourceReplaceable() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addResource(ISource source,
String path,
nu.xom.Element element)
Add the resource as a reference.
|
ENext |
doStart(IContext context,
IResultSet result)
Performs the start action.
|
ActionType |
getActionType()
Get the plugin type.
|
protected abstract String |
getReferenceName()
Get attribute reference name.
|
protected abstract String |
getReferenceValue()
Get the previous attribute value.
|
protected void |
replaceName(nu.xom.Element element,
String newName)
Replace old reference by the new created.
|
getSave, initialize, isSave, setSavecopy, doEnd, 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, toStringgetParameters, setParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, setParametersprotected static ThreadLocal<Integer> serialNumber
public ActionType getActionType()
IActionTypepublic ENext doStart(IContext context, IResultSet result) throws PluginException
IPlugindoStart in interface IPlugindoStart in class AbstractPlugincontext - The context.result - The result set.PluginException - On execution errors.protected abstract String getReferenceName()
protected abstract String getReferenceValue()
protected abstract void addResource(ISource source, String path, nu.xom.Element element)
source - The source.path - The target path.element - The resource element.protected void replaceName(nu.xom.Element element,
String newName)
element - The element.newName - The attribute new value.Copyright © 2016. All rights reserved.