Class AbstractRepository

java.lang.Object
step.core.repositories.AbstractRepository
All Implemented Interfaces:
Repository
Direct Known Subclasses:
AbstractArtifactRepository, LocalRepository, StagingRepository

public abstract class AbstractRepository extends Object implements Repository
  • Constructor Details

    • AbstractRepository

      protected AbstractRepository(Set<String> canonicalRepositoryParameters)
      Parameters:
      canonicalRepositoryParameters - the minimal set of keys that uniquely identifies a repository object in this repository
  • Method Details

    • enrichPlan

      protected void enrichPlan(ExecutionContext context, Plan plan)
    • compareCanonicalRepositoryParameters

      public boolean compareCanonicalRepositoryParameters(Map<String,String> repositoryParameters1, Map<String,String> repositoryParameters2)
      Description copied from interface: Repository
      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
      Specified by:
      compareCanonicalRepositoryParameters in interface Repository
      Returns:
      true if the canonical subset of both repository parameters are the same
    • getCanonicalRepositoryParameters

      public Set<String> getCanonicalRepositoryParameters()
      Specified by:
      getCanonicalRepositoryParameters in interface Repository