public abstract class AbstractConvertedToolExecutor extends java.lang.Object implements IToolExecutor2
IToolExecutor2 which is used for converted tool
executors.
It was possible to define input parameters which did not contain an extension
ID for any tool descriptor. This is no longer supported for the
IToolExecutor2 interface.
This class provides methods which are called if a RToolParameter
without an extension is used. Those methods provide the possibility to
provide an extension ID for a parameter based on the given index of the
parameter.
| Constructor and Description |
|---|
AbstractConvertedToolExecutor() |
| Modifier and Type | Method and Description |
|---|---|
IToolContext |
createToolContext(IExecutionContext pExecutionContext,
ToolDescriptor pToolDescriptor,
boolean pIsMassProcessing)
This method creates a
IToolContext. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteMassProcessing, executeSingleProcessing, init, supportsMassProcessingpublic IToolContext createToolContext(IExecutionContext pExecutionContext, ToolDescriptor pToolDescriptor, boolean pIsMassProcessing) throws TaurusToolException
IToolExecutor2IToolContext. By default an AWM internal
IMassProcessingToolContext or single processing
IToolContext is created.
This method must return an IMassProcessingToolContext, if
the isMassProcessing parameter is set to true. The support
of mass processing can be disabled by returning false in the
method IToolExecutor2.supportsMassProcessing().
createToolContext in interface IToolExecutor2pExecutionContext - the IExecutionContext which is used for the execution
of the ToolDescriptorpToolDescriptor - the corresponding ToolDescriptorpIsMassProcessing - whether this IToolExecutor2 should be executed as mass
processing or not. If this parameter is set to
true, this method has to return a
IMassProcessingToolContext.IToolContext which will be used for the execution of
the IToolExecutor2.TaurusToolException - if an exception occurs while creating an
IToolContext.Copyright © 2015 Micro Focus GmbH. All rights reserved.