public class ScriptPluginNodeExecutor extends BaseScriptPlugin implements NodeExecutor
CONFIG_DEFAULT, CONFIG_DESCRIPTION, CONFIG_LABELS, CONFIG_NAME, CONFIG_PROP_PREFIX, CONFIG_RENDERING_OPTIONS, CONFIG_REQUIRED, CONFIG_SCOPE, CONFIG_TITLE, CONFIG_TYPE, CONFIG_VALUES, DESCRIPTION_PROP, SETTING_MERGE_ENVIRONMENT, TITLE_PROP| Constructor and Description |
|---|
ScriptPluginNodeExecutor(ScriptPluginProvider provider,
Framework framework) |
| Modifier and Type | Method and Description |
|---|---|
NodeExecutorResult |
executeCommand(ExecutionContext executionContext,
java.lang.String[] command,
INodeEntry node)
Execute a command on a node and return the result.
|
NodeExecutorResult |
executeCommand(ExecutionContext executionContext,
java.lang.String[] command,
INodeEntry node,
boolean showError) |
boolean |
isAllowCustomProperties() |
boolean |
isUseConventionalPropertiesMapping() |
createScriptArgs, createScriptArgsList, createScriptDataContext, createScriptDataContext, createStepItemDataContext, getScriptExecHelper, prepareSecretBundle, runPluginScript, setScriptExecHelpercreateDescription, createDescription, createPluginData, getDescription, getFramework, getProvider, loadConfigData, loadContentConversionPropertyValues, loadInstanceDataFromNodeAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportVariableInjectionpublic ScriptPluginNodeExecutor(ScriptPluginProvider provider, Framework framework)
public boolean isAllowCustomProperties()
isAllowCustomProperties in class AbstractDescribableScriptPluginpublic boolean isUseConventionalPropertiesMapping()
isUseConventionalPropertiesMapping in class AbstractDescribableScriptPluginpublic NodeExecutorResult executeCommand(ExecutionContext executionContext, java.lang.String[] command, INodeEntry node)
NodeExecutorexecuteCommand in interface NodeExecutorexecutionContext - the execution contextcommand - the array of strings for the command line, with any necessary data context references replaced.node - the node to execute onpublic NodeExecutorResult executeCommand(ExecutionContext executionContext, java.lang.String[] command, INodeEntry node, boolean showError)