Interface ArtifactStoreQuery<T extends org.commonjava.indy.model.core.ArtifactStore>

  • All Known Implementing Classes:
    DelegatingArtifactStoreQuery

    public interface ArtifactStoreQuery<T extends org.commonjava.indy.model.core.ArtifactStore>
    This query interface is intended to be reusable across any StoreDataManager implementation. It contains logic for working with the ArtifactStores contained in the StoreDataManager, but this logic is not tied directly to any data manager implementation. Separating these methods out and providing a single StoreDataManager.query() method to provide access to an instance of this class drastically simplifies the task of implementing a new type of data manager.

    This class is intended to function as a fluent api. It does keep state on packageType, storeType(s), and enabled / disabled selection. However, methods that pertain to specific types of ArtifactStore (indicated by their names) DO NOT change the internal state of the query instance on which they are called.

    Created by jdcasey on 5/10/17.