Interface RepoAddition
- All Known Subinterfaces:
Repo
- All Known Implementing Classes:
RepositoryCreator
-
Method Summary
Modifier and TypeMethodDescriptionaddToRepository
(Component component) Adds thecomponent
to the list of components stored in the repository.addToRepository
(Interface interfce) Adds theinterfce
to the list of interfaces stored in the repository.addToRepository
(CompositeDataTypeCreator compositeDataType) Adds thecompositeDataType
to the list of data types provided by this repository.addToRepository
(ExceptionTypeCreator exceptionType) Adds theexceptionType
to the list of exception types provided by this repository.addToRepository
(ResourceTimeoutFailureTypeCreator failureType) Adds thefailureType
to the list of failure types provided by this repository.addToRepository
(org.palladiosimulator.pcm.reliability.FailureType failureType) Adds thefailureType
to the list of failure types provided by this repository.addToRepository
(org.palladiosimulator.pcm.repository.CollectionDataType collectionDataType) Adds thecollectionDataType
to the list of data types provided by this repository.addToRepository
(org.palladiosimulator.pcm.repository.RepositoryComponent component) Adds the already builtcomponent
to the list of components stored in the repository.org.palladiosimulator.pcm.repository.Repository
Turns this repository-in-the-making into a Palladio-'Repository' object.
-
Method Details
-
addToRepository
RepoAddition addToRepository(org.palladiosimulator.pcm.repository.CollectionDataType collectionDataType) Adds thecollectionDataType
to the list of data types provided by this repository.The
collectionDataType
represents a collection data type, e.g. a list, array, set of items of the particular type.
ThecollectionDataType
can be created using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.newCollectionDataType()
- Parameters:
collectionDataType
-- Returns:
- this repository, now containing the
collectionDataType
- See Also:
-
addToRepository
Adds thecompositeDataType
to the list of data types provided by this repository.The
compositeDataType
represents a complex data type containing other data types. This construct is common in higher programming languages as record, struct, or class.
ThecompositeDataType
can be created using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.newCompositeDataType()
- Parameters:
compositeDataType
-- Returns:
- this repository, now containing the
compositeDataType
- See Also:
-
org.palladiosimulator.generator.fluent.repository.factory.FluentRepositoryFactory#newCompositeDataType(String, org.palladiosimulator.pcm.repository.CompositeDataType...)
CompositeDataType
-
addToRepository
Adds thefailureType
to the list of failure types provided by this repository.- Parameters:
failureType
-- Returns:
- this repository, now containing the
failureType
- See Also:
-
FluentRepositoryFactory.newHardwareInducedFailureType(String, org.palladiosimulator.generator.fluent.component.repositoryStructure.datatypes.ProcessingResource)
FluentRepositoryFactory.newNetworkInducedFailureType(String, org.palladiosimulator.generator.fluent.component.repositoryStructure.datatypes.CommunicationLinkResource)
FluentRepositoryFactory.newSoftwareInducedFailureType(String)
FluentRepositoryFactory.newResourceTimeoutFailureType(String)
FailureType
-
addToRepository
Adds thefailureType
to the list of failure types provided by this repository.- Parameters:
failureType
-- Returns:
- this repository, now containing the
failureType
- See Also:
-
FluentRepositoryFactory.newHardwareInducedFailureType(String, org.palladiosimulator.generator.fluent.component.repositoryStructure.datatypes.ProcessingResource)
FluentRepositoryFactory.newNetworkInducedFailureType(String, org.palladiosimulator.generator.fluent.component.repositoryStructure.datatypes.CommunicationLinkResource)
FluentRepositoryFactory.newSoftwareInducedFailureType(String)
FluentRepositoryFactory.newResourceTimeoutFailureType(String)
FailureType
-
addToRepository
Adds theexceptionType
to the list of exception types provided by this repository.- Parameters:
exceptionType
-- Returns:
- this repository, now containing the
exceptionType
- See Also:
-
FluentRepositoryFactory.newExceptionType()
ExceptionType
-
addToRepository
Adds thecomponent
to the list of components stored in the repository.Components are atomic building blocks of a software architecture. There are 5 different types of components: 'BasicComponent', 'CompositeComponent', 'SubSystem', 'CompleteComponentType', 'ProvidesComponentType'.
Thecomponent
can be created using the org.palladiosimulator.generator.fluent.component.factory, e.g.create.newBasicComponent()
etc.- Parameters:
component
-- Returns:
- this repository, now containing the
component
- See Also:
-
addToRepository
Adds the already builtcomponent
to the list of components stored in the repository.Components are atomic building blocks of a software architecture. There are 5 different types of components: 'BasicComponent', 'CompositeComponent', 'SubSystem', 'CompleteComponentType', 'ProvidesComponentType'.
Thecomponent
can be created and built using the org.palladiosimulator.generator.fluent.component.factory, e.g.create.newBasicComponent().build()
etc.- Parameters:
component
-- Returns:
- this repository, now containing the
component
- See Also:
-
addToRepository
Adds theinterfce
to the list of interfaces stored in the repository.Interfaces are modeled as a set of signatures representing services provided or required by a component. There are 3 different types of interfaces: 'OperationInterface', 'EventGroup', 'InfrastructureInterface'.
Theinterfce
can be created using the org.palladiosimulator.generator.fluent.component.factory, e.g.create.newOperationInterface()
etc.- Parameters:
interfce
-- Returns:
- this repository, now containing the
interfce
- See Also:
-
createRepositoryNow
org.palladiosimulator.pcm.repository.Repository createRepositoryNow()Turns this repository-in-the-making into a Palladio-'Repository' object.- Returns:
- the final repository object
- See Also:
-
Repository
-