public abstract class PluginIfBranch extends AbstractPluginNamed
| Modifier and Type | Field and Description |
|---|---|
static String |
CSS_RELEGATED
CSS style for unselected branch.
|
static String |
CSS_SELECTED
CSS style for selected branch.
|
static String |
FEATURE_HIDE
Feature to set invalid branch.
|
protected Boolean |
hide
Set hide on invalid branch.
|
nameFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Constructor and Description |
|---|
PluginIfBranch() |
| Modifier and Type | Method and Description |
|---|---|
ENext |
doStart(IContext context,
IResultSet result)
Performs the start action.
|
protected void |
encapsule(IContext context,
Boolean condition)
Wrap the node with 'selected' or 'unselected' flag, and hide or not the
unselected branch.
|
protected abstract boolean |
expected()
Return the expected branch condition.
|
ActionType |
getActionType()
Get the plugin type.
|
Boolean |
getHide()
Gets the hide status.
|
void |
initialize(IContext context)
Initialize the plugin.
|
void |
setHide(Boolean hide)
Sets the hide status of unselected branches.
|
getName, setNamecopy, 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, setParameterspublic static final String CSS_SELECTED
public static final String CSS_RELEGATED
public static final String FEATURE_HIDE
protected Boolean hide
public Boolean getHide()
public void setHide(Boolean hide)
hide - true, to hide, false, otherwise.public ActionType getActionType()
IActionTypepublic void initialize(IContext context) throws PluginException
IPlugininitialize in interface IPlugininitialize in class AbstractPlugincontext - The test context.PluginException - On initialization errors.public 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 void encapsule(IContext context, Boolean condition)
context - The context.condition - The condition.protected abstract boolean expected()
Copyright © 2016. All rights reserved.