C
- public class ComponentMetadataAdapter<C extends Configuration> extends AddonMetadataAdapter implements ComponentMetadata<C>
Constructor and Description |
---|
ComponentMetadataAdapter(java.lang.String typeIdentifier,
java.lang.Class<C> configurationClass,
java.lang.Class<? extends Component> componentInterface,
java.lang.String typeName)
Constructor.
|
ComponentMetadataAdapter(java.lang.String typeIdentifier,
java.lang.Class<C> configurationClass,
java.lang.Class<? extends Component> componentInterface,
java.lang.String typeName,
java.lang.String iconPath)
Constructor.
|
ComponentMetadataAdapter(java.lang.String typeIdentifier,
java.lang.Class<C> configurationClass,
java.lang.Class<? extends Component> componentInterface,
java.lang.String typeName,
java.lang.String[] configurationClassification)
Constructor.
|
ComponentMetadataAdapter(java.lang.String typeIdentifier,
java.lang.Class<C> configurationClass,
java.lang.Class<? extends Component> componentInterface,
java.lang.String typeName,
java.lang.String[] configurationClassification,
java.lang.String iconPath)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Component> |
getComponentInterface()
Returns the interface of the measurement component created when the configuration is parsed.
|
java.lang.Class<C> |
getConfigurationClass()
Returns the class of the configuration of the measurement component.
|
getClassification, getIcon, getTypeIdentifier, getTypeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassification, getIcon, getTypeIdentifier, getTypeName
public ComponentMetadataAdapter(java.lang.String typeIdentifier, java.lang.Class<C> configurationClass, java.lang.Class<? extends Component> componentInterface, java.lang.String typeName, java.lang.String[] configurationClassification, java.lang.String iconPath)
typeIdentifier
- Type identifier of the configuration.configurationClass
- Class of the configuration.componentInterface
- The interface of the measurement component which is created when the configuration is compiled.typeName
- Human readable name for this configuration.configurationClassification
- Classification of configuration. This classification can e.g. be used to order configurations into a certain folder structure.iconPath
- Path to an icon representing this configuration. This path should be a valid path to a resource, i.e. an icon saved inside a jar file loaded by YouScope.public ComponentMetadataAdapter(java.lang.String typeIdentifier, java.lang.Class<C> configurationClass, java.lang.Class<? extends Component> componentInterface, java.lang.String typeName, java.lang.String[] configurationClassification)
typeIdentifier
- Type identifier of the configuration.configurationClass
- Class of the configuration.componentInterface
- The interface of the measurement component which is created when the configuration is compiled.typeName
- Human readable name for this configuration.configurationClassification
- Classification of configuration. This classification can e.g. be used to order configurations into a certain folder structure.public ComponentMetadataAdapter(java.lang.String typeIdentifier, java.lang.Class<C> configurationClass, java.lang.Class<? extends Component> componentInterface, java.lang.String typeName, java.lang.String iconPath)
typeIdentifier
- Type identifier of the configuration.configurationClass
- Class of the configuration.componentInterface
- The interface of the measurement component which is created when the configuration is compiled.typeName
- Human readable name for this configuration.iconPath
- Path to an icon representing this configuration. This path should be a valid path to a resource, i.e. an icon saved inside a jar file loaded by YouScope.public ComponentMetadataAdapter(java.lang.String typeIdentifier, java.lang.Class<C> configurationClass, java.lang.Class<? extends Component> componentInterface, java.lang.String typeName)
typeIdentifier
- Type identifier of the configuration.configurationClass
- Class of the configuration.componentInterface
- The interface of the measurement component which is created when the configuration is compiled.typeName
- Human readable name for this configuration.public java.lang.Class<C> getConfigurationClass()
ComponentMetadata
getConfigurationClass
in interface ComponentMetadata<C extends Configuration>
public java.lang.Class<? extends Component> getComponentInterface()
ComponentMetadata
getComponentInterface
in interface ComponentMetadata<C extends Configuration>