Package step.core.repositories
Interface Repository
- All Known Implementing Classes:
AbstractArtifactRepository
,AbstractRepository
,LocalRepository
,MavenArtifactRepository
,ResourceArtifactRepository
,StagingRepository
public interface Repository
-
Method Summary
Modifier and TypeMethodDescriptionboolean
compareCanonicalRepositoryParameters
(Map<String, String> repositoryParameters1, Map<String, String> repositoryParameters2) Compares the canonical subset of the repository parameters.void
exportExecution
(ExecutionContext context, Map<String, String> repositoryParameters) getArtefactInfo
(Map<String, String> repositoryParameters) getTestSetStatusOverview
(Map<String, String> repositoryParameters) importArtefact
(ExecutionContext context, Map<String, String> repositoryParameters) default void
postExecution
(ExecutionContext context, RepositoryObjectReference repositoryObjectReference)
-
Method Details
-
getArtefactInfo
- Throws:
Exception
-
getTestSetStatusOverview
TestSetStatusOverview getTestSetStatusOverview(Map<String, String> repositoryParameters) throws Exception- Throws:
Exception
-
importArtefact
ImportResult importArtefact(ExecutionContext context, Map<String, String> repositoryParameters) throws Exception- Throws:
Exception
-
exportExecution
void exportExecution(ExecutionContext context, Map<String, String> repositoryParameters) throws Exception- Throws:
Exception
-
postExecution
default void postExecution(ExecutionContext context, RepositoryObjectReference repositoryObjectReference) throws Exception - Throws:
Exception
-
compareCanonicalRepositoryParameters
boolean compareCanonicalRepositoryParameters(Map<String, String> repositoryParameters1, Map<String, String> repositoryParameters2) Compares the canonical subset of the repository parameters. The canonical subset of the parameters corresponds to the minimal entries that uniquely identify the repository object in its repository- Parameters:
repositoryParameters1
-repositoryParameters2
-- Returns:
- true if the canonical subset of both repository parameters are the same
-
getCanonicalRepositoryParameters
-