public class PluginImport extends AbstractPluginValue
Imports can be performed:
<.. imports="package1;package2;...;packageN"/>on every valid tag;
<table class="imports">
<tr><td>package1</td><td>...</td><td>packageN</td></tr>
</table>
or in rows
<table class="imports">
<tr><td>package1</td></tr>
<tr><td>...</td></tr>
<tr><td>packageN</td></tr>
</table>
<imports>package1;...;packageN<imports>
| Modifier and Type | Field and Description |
|---|---|
protected String |
imports
Set a import package names separated by ';'.
|
protected String[] |
packages
The packages set in imports.
|
static String |
PACKAGES_NAME
The import list name.
|
eval, valuescopenameFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Constructor and Description |
|---|
PluginImport() |
| Modifier and Type | Method and Description |
|---|---|
ENext |
doStart(IContext context,
IResultSet result)
Performs the start action.
|
ActionType |
getActionType()
Get the plugin type.
|
String |
getImports()
Get the list of imports.
|
static List<String> |
getPackages(IContext context)
Recover the package list in context, if any.
|
void |
setImports(String imports)
Set the list of imports.
|
getValue, getValue, isEval, setEval, setValuegetScope, 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 PACKAGES_NAME
protected String imports
protected String[] packages
public ActionType getActionType()
IActionTypepublic String getImports()
public void setImports(String imports)
imports - The import list separated by ';'.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.Copyright © 2016. All rights reserved.