Class RepositoryObject
- java.lang.Object
-
- org.palladiosimulator.dependencytool.RepositoryObject
-
public class RepositoryObject extends Object
An object holding all relevant information about the according repository.
-
-
Constructor Summary
Constructors Constructor Description RepositoryObject(String repositoryName, GitHubAPIHandler handler, boolean includeImports)Create a new RepositoryObject from the given repository name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDependencies()Set<RepositoryObject>getDependency()StringgetRepositoryAdress()StringgetRepositoryName()Set<String>getRequiredBundles()Set<String>getRequiredFeatures()StringgetUpdateSite()voidsetDependencies(Set<RepositoryObject> dependencies)Adds dependencies to the repository.StringtoString()
-
-
-
Constructor Detail
-
RepositoryObject
public RepositoryObject(String repositoryName, GitHubAPIHandler handler, boolean includeImports) throws IOException, ParserConfigurationException, SAXException
Create a new RepositoryObject from the given repository name.- Parameters:
repositoryName- The name of the repository.handler- A GitHubAPIHandler to gain access to the information of the existing repository.includeImports- If true the dependencies of this repository will also contain imported plugins and features.- Throws:
IOExceptionParserConfigurationExceptionSAXException
-
-
Method Detail
-
getRepositoryName
public String getRepositoryName()
-
getRepositoryAdress
public String getRepositoryAdress()
-
getUpdateSite
public String getUpdateSite()
-
getDependency
public Set<RepositoryObject> getDependency()
-
getDependencies
public String getDependencies()
-
setDependencies
public void setDependencies(Set<RepositoryObject> dependencies)
Adds dependencies to the repository.- Parameters:
dependencies- A set of RepositoryObject to add to this repository as dependencies.
-
-