Interface Repo
-
- All Superinterfaces:
RepoAddition
- All Known Implementing Classes:
RepositoryCreator
public interface Repo extends RepoAddition
TODO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RepowithDescription(String description)Defines the description of the repository.RepowithImportedResource(String path)Loads the repository located inpathas a Resource and provides its entities in the fetching methods by calling on the entities with the name of the repository leading.RepowithImportedResource(URI uri)Loads the repository located inurias a Resource and provides its entities in the fetching methods by calling on the entities with the name of the repository leading.RepowithImportedResource(org.palladiosimulator.pcm.repository.Repository repository)Provides the entities in the fetching methods of a already loaded repository by calling on the entities with the name of the repository leading.RepowithName(String name)Defines the name of the repository.-
Methods inherited from interface org.palladiosimulator.generator.fluent.repository.api.RepoAddition
addToRepository, addToRepository, addToRepository, addToRepository, addToRepository, addToRepository, addToRepository, createRepositoryNow
-
-
-
-
Method Detail
-
withName
Repo withName(String name)
Defines the name of the repository.- Parameters:
name-- Returns:
- this repository
-
withDescription
Repo withDescription(String description)
Defines the description of the repository.- Parameters:
description-- Returns:
- this repository
-
withImportedResource
Repo withImportedResource(String path)
Loads the repository located inpathas a Resource and provides its entities in the fetching methods by calling on the entities with the name of the repository leading.- Parameters:
path- to the import repository- Returns:
- this repository
-
withImportedResource
Repo withImportedResource(URI uri)
Loads the repository located inurias a Resource and provides its entities in the fetching methods by calling on the entities with the name of the repository leading.- Parameters:
uri- to the import repository- Returns:
- this repository
-
withImportedResource
Repo withImportedResource(org.palladiosimulator.pcm.repository.Repository repository)
Provides the entities in the fetching methods of a already loaded repository by calling on the entities with the name of the repository leading.- Parameters:
repository- loaded repository to be copied- Returns:
- this repository
-
-