Class OperationRepository
java.lang.Object
kieker.tools.trace.analysis.systemModel.repository.AbstractSystemSubRepository
kieker.tools.trace.analysis.systemModel.repository.OperationRepository
public class OperationRepository extends AbstractSystemSubRepository
This is a repository in which the available operations (
Operation
) can be stored.- Since:
- 1.1
- Author:
- Andre van Hoorn
-
Field Summary
Fields Modifier and Type Field Description static Operation
ROOT_OPERATION
static Signature
ROOT_SIGNATURE
Fields inherited from class kieker.tools.trace.analysis.systemModel.repository.AbstractSystemSubRepository
ROOT_ELEMENT_ID
-
Constructor Summary
Constructors Constructor Description OperationRepository(SystemModelRepository systemFactory)
Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description Operation
createAndRegisterOperation(java.lang.String namedIdentifier, ComponentType componentType, Signature signature)
java.util.Collection<Operation>
getOperations()
Delivers a collection containing all available operations.Operation
lookupOperationByNamedIdentifier(java.lang.String namedIdentifier)
Methods inherited from class kieker.tools.trace.analysis.systemModel.repository.AbstractSystemSubRepository
getAndIncrementNextId, getSystemFactory
-
Field Details
-
Constructor Details
-
OperationRepository
Creates a new instance of this class using the given parameters.- Parameters:
systemFactory
- The system factory.
-
-
Method Details
-
lookupOperationByNamedIdentifier
- Parameters:
namedIdentifier
- The identifier to search for.- Returns:
- The instance for the passed namedIdentifier; null if no instance with this namedIdentifier.
-
createAndRegisterOperation
public final Operation createAndRegisterOperation(java.lang.String namedIdentifier, ComponentType componentType, Signature signature) -
getOperations
Delivers a collection containing all available operations.- Returns:
- The already stored operations.
-