public abstract class AbstractCommandBasedToolExecutor extends java.lang.Object implements IToolExecutor2
Execute OS Command).| Constructor and Description |
|---|
AbstractCommandBasedToolExecutor() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getParameterSeparatorWithoutQuotes(IToolContext pToolContext,
java.lang.String pParmSeparatorAttributeID) |
static ResourceOperation |
parseResourceOperation(ToolDescriptor pTool,
java.lang.String pLine,
java.lang.String pSeparator,
java.util.List<Property> pResourceOperationProperties,
IExecutionContext pContext)
Parses a resource operation if the given line starts with one of the
resource operation keywords (see
EResourceProcessingTypes). |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateToolContext, executeMassProcessing, executeSingleProcessing, init, supportsMassProcessingpublic static ResourceOperation parseResourceOperation(ToolDescriptor pTool, java.lang.String pLine, java.lang.String pSeparator, java.util.List<Property> pResourceOperationProperties, IExecutionContext pContext) throws TaurusToolException
EResourceProcessingTypes).
Returns null if the line is not a valid resource operation
or does not contain a resource operation at all.pTool - the tool that's being executedpLine - the line which might contain a resource operation.pSeparator - delimiter used to separate resource operation valuespResourceOperationProperties - the properties to map resource operation values topContext - execution contextnull.TaurusToolException - if an error occurs during parsing of resource operation
parameters.public static java.lang.String getParameterSeparatorWithoutQuotes(IToolContext pToolContext, java.lang.String pParmSeparatorAttributeID) throws TaurusToolException
pToolContext - the tool descriptorpParmSeparatorAttributeID - the ID of the of the parameter separator complex attributeTaurusToolException - an issue occurred accessing the parameter separator attribute.Copyright © 2015 Micro Focus GmbH. All rights reserved.