Skip to main content

Get Parameters

Synopsis

This Operator extracts all parameters, including expert parameters, of another operator.

Description

This operator extracts all parameters, including expert parameters, of another operator (in the following called TargetOperator) . The name of the TargetOperator has to be specified. The parameters are converted into a Parameter Set. In addition a through port pair extender allows to through put any number of objects through the Get Parameters operator. Thus allows to control the process execution. The TargetOperator is received over the process context by its name. It is even possible to get the parameters of an TargetOperator not yet executed in the process. Be aware that the parameters are extracted at the execution time of the Get Parameters operator. In case of changing parameters be sure that Get Parameters is after the execution of the TargetOperator. The resulting Parameter Set can be stored in the repository, written to file with the Write Parameters operator, used by the Set Parameters operator or converted to an ExampleSet with the Parameter Set to ExampleSet operator of the Converters Extension (available at the Marketplace).

Currently the following features are not supported:

  1. Macros are not evaluated. Instead the string %{<macro_name>} is taken as the value of the parameter. But the value of the Macro can easily be added for example as an additional attribute by the Generate Attribute operator.

  2. The extraction of parameters within an parallel executed operator is not yet supported. Please disable parallel execution.

  3. whi有类型的参数ch are not converted into an easy readable String. Nevertheless they are written to the ParameterSet.

Input

通过

Any object you want to pass through the operator.

Output

parameters

The Parameter Set containing the parameters extracted from the TargetOperator.

通过

The input object is passed through the operator and is delivered at the output port.

Parameters

Operator name

The name of the TargetOperator which parameters are extracted.