public class PluginMacro extends AbstractPluginScoped
| Modifier and Type | Field and Description |
|---|---|
static String |
CSS_DEFINED
CSS of macro defined.
|
protected boolean |
global
Set if a macro should be global to the current specification.
|
protected boolean |
run
Set if the macro should be called on creation time also.
|
scopenameFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Constructor and Description |
|---|
PluginMacro() |
| Modifier and Type | Method and Description |
|---|---|
ENext |
doStart(IContext context,
IResultSet result)
Performs the start action.
|
ActionType |
getActionType()
Get the plugin type.
|
boolean |
isGlobal()
Says is the plugin should be placed in global context or local context.
|
boolean |
isRun()
Says if the macro must be execute on definition time.
|
void |
setGlobal(boolean global)
Sets global flag.
|
void |
setRun(boolean run)
Set run behavior.
|
getScope, saveGlobal, saveLocal, saveStrict, setScopegetName, setNamecopy, doEnd, getCondition, getConditionModel, getNormalized, getNormalized, getNormalizer, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, initialize, setCondition, setConditionModel, setNormalized, setNormalizer, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModel, toStringgetParameters, setParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, setParameterspublic static final String CSS_DEFINED
protected boolean run
protected boolean global
public boolean isRun()
public void setRun(boolean run)
run - The new run status.public boolean isGlobal()
public void setGlobal(boolean global)
global - If define global as global.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.Copyright © 2016. All rights reserved.