public interface Repository extends Named<Integer>, Versionable<Date>
Applications for provisioning. In the repository
applications are represented through a InstallablePackage.| Modifier and Type | Method and Description |
|---|---|
Certification |
getCertification()
Returns the
Certification |
String |
getDigest()
The digest for this repository, used for local published repositories to grant remote accesss
|
List<InstallablePackage> |
getInstallablePackages(List<Identifier> provisionedPackages)
Returns a list of
InstallablePackages for the given list of package Identifiers |
PackageArchive |
getPackageArchive(String packageName,
String packageVersion,
String packageTimestamp)
Returns the
PackageArchive with the given name, version and timestamp |
Packages |
getPackages()
|
Packages |
getPackages(String packageName)
|
PackageVersions |
getPackageVersions(String packageName)
Returns the
PackageVersions for the package with the given name, containing a list of PackageInfo
rmations |
String |
getRemoteRepositoryName()
In case the type for this repository is
RepositoryType.REMOTE, returns the name of the referred remote
repository. |
RepositoryMode |
getRepositoryMode()
The mode for this repository,
|
RepositoryType |
getRepositoryType()
The type for this repository.
|
Collection<X509Certificate> |
getTrustedCertChain()
Returns the certificate chain, if this is a remote repository and a certificate chain to be trusted has been
defined
|
URI |
getUri()
The URI for this
Repository, may refer to to local filesystem or a remote address |
boolean |
isActive()
Whether or not
PackageArchives can be retrieved from this repository |
boolean |
isPublished()
Whether or not this repository is being published via the SOAP interface, so other repositories can refer to it
as an remote repository
|
boolean |
isStrict()
Whether or not this repository uses strict filename validation when scanning for
PackageArchives, i.e. |
getDescription, getNamegetIdgetVersionRepositoryType getRepositoryType()
RepositoryTypeURI getUri()
Repository, may refer to to local filesystem or a remote addressboolean isActive()
PackageArchives can be retrieved from this repositorytrue if this repository is active, false otherwiseboolean isStrict()
PackageArchives, i.e.
the naming pattern must be <name>-<version>-<timestamp>.zip. If this method returns false, the
more lax naming pattern <name>-<version>.zip is used, omitting the <timestamp> part.boolean isPublished()
true if this repository is published, false otherwisegetRepositoryType()String getDigest()
isPublished()RepositoryMode getRepositoryMode()
RepositoryModeString getRemoteRepositoryName()
RepositoryType.REMOTE, returns the name of the referred remote
repository.List<InstallablePackage> getInstallablePackages(List<Identifier> provisionedPackages) throws BusinessException
InstallablePackages for the given list of package IdentifiersprovisionedPackages - the list of package identifiersInstallablePackages for the given package identifiersBusinessException - if an error occurs while retrieving the packagesPackageArchive getPackageArchive(String packageName, String packageVersion, String packageTimestamp) throws BusinessException
PackageArchive with the given name, version and timestamppackageName - the name of the archivepackageVersion - the version of the archivepackageTimestamp - the timestamp of the archive, only used if isStrict() returns true.PackageArchiveBusinessException - if no such PackageArchive exists or if this repository is not activeisStrict(),
isActive()Packages getPackages() throws BusinessException
Packages offered by this repositoryBusinessException - if an error occurs while reading the package informationsPackages getPackages(String packageName) throws BusinessException
packageName - an optional search-string for the package's name, supporting * as a placeholderPackages offered by this repositoryBusinessException - if an error occurs while reading the package informationsCertification getCertification() throws BusinessException
CertificationBusinessExceptionPackageVersions getPackageVersions(String packageName) throws BusinessException
PackageVersions for the package with the given name, containing a list of PackageInfo
rmationspackageName - the name of the package to get the versions forPackageVersionsBusinessException - if an error occurs while retrieving the PackageVersionsCollection<X509Certificate> getTrustedCertChain() throws SigningException
nullSigningException - if an error occurs while reading the certificate chainCopyright © 2011–2021 aiticon GmbH. All rights reserved.