public class AllocationComponentOperationPairFactory extends AbstractSystemSubRepository
Modifier and Type | Field and Description |
---|---|
static AllocationComponentOperationPair |
ROOT_PAIR |
ROOT_ELEMENT_ID
Constructor and Description |
---|
AllocationComponentOperationPairFactory(SystemModelRepository systemFactory)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
AllocationComponentOperationPair |
getPairById(int id)
Returns the instance for the passed ID; null if no instance with this ID is available.
|
AllocationComponentOperationPair |
getPairInstanceByPair(AllocationComponent allocationComponent,
Operation operation)
Returns a corresponding pair instance (existing or newly created).
|
java.util.Collection<AllocationComponentOperationPair> |
getPairs()
Delivers all available allocation-component-operation pairs.
|
getAndIncrementNextId, getSystemFactory
public static final AllocationComponentOperationPair ROOT_PAIR
public AllocationComponentOperationPairFactory(SystemModelRepository systemFactory)
systemFactory
- The repository for this component.public final AllocationComponentOperationPair getPairInstanceByPair(AllocationComponent allocationComponent, Operation operation)
allocationComponent
- The first element of the pair (the allocation component).operation
- The second element of the pair (the operation).public final AllocationComponentOperationPair getPairById(int id)
id
- The ID of the instance in question.public final java.util.Collection<AllocationComponentOperationPair> getPairs()
Copyright 2017 Kieker Project, http://kieker-monitoring.net