public class TargetConfiguration extends ProcessConfiguration
Constructor and Description |
---|
TargetConfiguration(String className,
ProcessMode processMode,
Map<String,String> parameters,
Map<String,ProcessRuleSet> ruleSets,
List<ProcessMapEntry> mapEntries,
Set<String> inputIds,
List<Namespace> namespaces,
Element advancedProcessConfigurations)
Creates a TargetConfiguration.
|
Modifier and Type | Method and Description |
---|---|
String |
fullNamespace(String abbreviation) |
Set<String> |
getInputIds() |
List<Namespace> |
getNamespaces() |
boolean |
hasNamespaceWithAbbreviation(String abbrev) |
String |
locationOfNamespace(String namespace) |
String |
nsabrForNamespace(String namespace) |
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 TargetConfiguration(String className, ProcessMode processMode, Map<String,String> parameters, Map<String,ProcessRuleSet> ruleSets, List<ProcessMapEntry> mapEntries, Set<String> inputIds, List<Namespace> namespaces, Element advancedProcessConfigurations)
className
- The fully qualified name of the class implementing the target.processMode
- The execution mode of the target.parameters
- The target parameters. null
if no parameters were
declared in the configuration.ruleSets
- The encoding rule sets declared for the target.
null
if no rule sets were declared in the
configuration.mapEntries
- The map entries for the target. null
if no map
entries were declared in the configuration.inputIds
- Set of identifiers referencing either the input model or a
transformer.namespaces
- List of namespaces for the target. null
if no
namespaces were declared in the configuration.advancedProcessConfigurations
- the 'advancedProcessConfigurations' element from the
configuration of the process; null
if it is not
set therepublic String toString()
toString
in class ProcessConfiguration
public List<Namespace> getNamespaces()
null
if none are defined in the
target configurationpublic String nsabrForNamespace(String namespace)
namespace
- null
if
the namespace is unknown.public String fullNamespace(String abbreviation)
abbreviation
- null
if
the abbreviation is unknownpublic boolean hasNamespaceWithAbbreviation(String abbrev)
Copyright © 2018. All rights reserved.