public final class RecognitionConfiguration
extends java.lang.Object
Constructor and Description |
---|
RecognitionConfiguration(RecognitionConfiguration base)
Creates a new recognition configuration by deep copying the
base configuration.
|
RecognitionConfiguration(java.lang.String name)
Creates a new, empty configuration with the specified name.
|
RecognitionConfiguration(java.lang.String name,
RecognitionConfiguration base)
Creates a new recognition configuration by deep copying the
base configuration and adjusting its name to the specified name.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<ComponentConfiguration> |
getComponents()
Returns the components of the configuration.
|
java.util.Set<LinkConfiguration> |
getLinks()
Returns the links of the configuration.
|
java.lang.String |
getName()
Returns the human readable name of the configuration.
|
java.lang.String |
toString()
Returns a human-readable string representation.
|
public RecognitionConfiguration(java.lang.String name)
name
- The name of the configuration.java.lang.NullPointerException
- Thrown if the name is null.public RecognitionConfiguration(RecognitionConfiguration base)
base
- The base configuration to copy.public RecognitionConfiguration(java.lang.String name, RecognitionConfiguration base)
base
- The base configuration to copy.name
- The new name of the configuration.public java.util.Set<ComponentConfiguration> getComponents()
public java.util.Set<LinkConfiguration> getLinks()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object