|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.interactive_instruments.ShapeChange.ProcessConfiguration
public class ProcessConfiguration
Configuration information for a process.
Constructor Summary | |
---|---|
ProcessConfiguration(String className,
ProcessMode processMode,
Map<String,String> parameters,
Map<String,ProcessRuleSet> ruleSets,
List<ProcessMapEntry> mapEntries)
Creates a ProcessConfiguration. |
Method Summary | |
---|---|
void |
addTarget(TargetConfiguration targetConfig)
|
void |
addTransformer(TransformerConfiguration transformerConfig)
|
String |
getClassName()
|
String |
getGmlVersion()
|
String[] |
getListParameterValue(String parameterName)
Gets the list of values for a parameter with given name. |
List<ProcessMapEntry> |
getMapEntries()
|
ProcessMapEntry |
getMapEntry(String type)
|
Map<String,String> |
getParameters()
|
String |
getParameterValue(String parameterName)
Gets the value of the parameter with given name. |
String[] |
getParameterValues(String parameterName)
|
ProcessMode |
getProcessMode()
|
Map<String,ProcessRuleSet> |
getRuleSets()
|
List<TargetConfiguration> |
getTargets()
|
List<TransformerConfiguration> |
getTransformers()
|
boolean |
hasParameter(String paramName)
|
void |
setTargets(List<TargetConfiguration> targets)
|
void |
setTransformers(List<TransformerConfiguration> transformers)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProcessConfiguration(String className, ProcessMode processMode, Map<String,String> parameters, Map<String,ProcessRuleSet> ruleSets, List<ProcessMapEntry> mapEntries)
className
- 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.Method Detail |
---|
public String getClassName()
public ProcessMode getProcessMode()
public Map<String,String> getParameters()
null
if no parameters were
declared in the configuration.public String getParameterValue(String parameterName)
parameterName
- Name of the parameter to get the value for.
null
if no such parameter was declared in the
configuration.public String[] getParameterValues(String parameterName)
parameterName
- Name of the parameter to get the values for.
null
if no such parameter was declared in the
configuration.public String[] getListParameterValue(String parameterName)
parameterName
- Name of the parameter to get the value list for.
null
if no such parameter was declared in the
configuration.public Map<String,ProcessRuleSet> getRuleSets()
null
if no
rule sets were declared in the configuration.public List<ProcessMapEntry> getMapEntries()
null
if no map
entries were declared in the configuration.public boolean hasParameter(String paramName)
public String getGmlVersion()
public String toString()
toString
in class Object
public List<TransformerConfiguration> getTransformers()
public void setTransformers(List<TransformerConfiguration> transformers)
transformers
- the transformers to setpublic void addTransformer(TransformerConfiguration transformerConfig)
public List<TargetConfiguration> getTargets()
public void setTargets(List<TargetConfiguration> targets)
targets
- the targets to setpublic void addTarget(TargetConfiguration targetConfig)
public ProcessMapEntry getMapEntry(String type)
type
- the map entry with the given type, or null
if
none was found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |