public class TransformerConfiguration extends ProcessConfiguration
Constructor and Description |
---|
TransformerConfiguration(String id,
String className,
ProcessMode processMode,
Map<String,String> parameters,
Map<String,ProcessRuleSet> ruleSets,
List<ProcessMapEntry> mapEntries,
List<TaggedValueConfigurationEntry> taggedValues,
String inputId,
Element advancedProcessConfigurations)
Creates a TransformerConfiguration.
|
Modifier and Type | Method and Description |
---|---|
List<TargetConfiguration> |
getAllTargets() |
String |
getId() |
String |
getInputId() |
ProcessMapEntry |
getMappingForType(String rule,
String type) |
List<TaggedValueConfigurationEntry> |
getTaggedValues() |
boolean |
hasMappingForType(String rule,
String type) |
boolean |
hasRule(String ruleID) |
boolean |
hasTaggedValues() |
String |
toString() |
addTarget, addTransformer, getAdvancedProcessConfigurations, getAllRules, getClassName, getGmlVersion, getListParameterValue, getMapEntries, getMapEntry, getParameters, getParameterValue, getProcessMode, getRuleSets, getTargets, getTransformers, hasParameter, parameterAsBoolean, parameterAsString, parameterAsStringList, parameterAsStringList, setTargets, setTransformers
public TransformerConfiguration(String id, String className, ProcessMode processMode, Map<String,String> parameters, Map<String,ProcessRuleSet> ruleSets, List<ProcessMapEntry> mapEntries, List<TaggedValueConfigurationEntry> taggedValues, String inputId, Element advancedProcessConfigurations)
id
- Transformer identifierclassName
- The fully qualified name of the class implementing the
process.processMode
- The execution mode of the process.parameters
- The process parameters. null
if no parameters
were declared in the configuration.ruleSets
- The rule sets declared for the process. null
if
no rule sets were declared in the configuration.mapEntries
- The map entries for the process. null
if no map
entries were declared in the configuration.taggedValues
- The tagged values defined for the transformer.
null
if no tagged values were declared in the
configuration.inputId
- identifier of the input for this transformeradvancedProcessConfigurations
- the 'advancedProcessConfigurations' element from the
configuration of the process; null
if it is not
set therepublic String getId()
public String getInputId()
public String toString()
toString
in class ProcessConfiguration
public ProcessMapEntry getMappingForType(String rule, String type)
public boolean hasMappingForType(String rule, String type)
rule
- Name of the rule that the type mapping must apply to, can be
null
(then any type mapping with the given name
is fine)type
- Value of the type in a ProcessMapEntrypublic boolean hasTaggedValues()
public List<TaggedValueConfigurationEntry> getTaggedValues()
public List<TargetConfiguration> getAllTargets()
public boolean hasRule(String ruleID)
Copyright © 2018. All rights reserved.