public class TypeRepository extends AbstractRepository
ComponentType
) can be stored.Modifier and Type | Field and Description |
---|---|
static ComponentType |
ROOT_COMPONENT
This constant represents the root component.
|
ROOT_ELEMENT_ID
Constructor and Description |
---|
TypeRepository(SystemModelRepository systemFactory)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
ComponentType |
createAndRegisterComponentType(java.lang.String namedIdentifier,
java.lang.String fullqualifiedName)
Creates and registers a component type that has not been registered yet.
|
java.util.Collection<ComponentType> |
getComponentTypes()
Returns a collection of all registered component types.
|
ComponentType |
lookupComponentTypeByNamedIdentifier(java.lang.String namedIdentifier)
Returns the instance for the passed namedIdentifier; null if no instance with
this namedIdentifier.
|
getAndIncrementNextId, getSystemFactory
public static final ComponentType ROOT_COMPONENT
public TypeRepository(SystemModelRepository systemFactory)
systemFactory
- The system factory.public final ComponentType lookupComponentTypeByNamedIdentifier(java.lang.String namedIdentifier)
namedIdentifier
- The identifier to search for.public final ComponentType createAndRegisterComponentType(java.lang.String namedIdentifier, java.lang.String fullqualifiedName)
namedIdentifier
- The identifier of the new component type.fullqualifiedName
- The fully qualfieid name of the new component type.public final java.util.Collection<ComponentType> getComponentTypes()
Copyright 2021 Kieker Project, http://kieker-monitoring.net