Class PathMappedGroupRepositoryFilter

  • All Implemented Interfaces:
    Comparable<org.commonjava.indy.content.GroupRepositoryFilter>, org.commonjava.indy.content.GroupRepositoryFilter

    @ApplicationScoped
    public class PathMappedGroupRepositoryFilter
    extends org.commonjava.indy.core.content.group.AbstractGroupRepositoryFilter
    • Constructor Detail

      • PathMappedGroupRepositoryFilter

        public PathMappedGroupRepositoryFilter()
    • Method Detail

      • getPriority

        public int getPriority()
      • canProcess

        public boolean canProcess​(String path,
                                  org.commonjava.indy.model.core.Group group)
        Specified by:
        canProcess in interface org.commonjava.indy.content.GroupRepositoryFilter
        Overrides:
        canProcess in class org.commonjava.indy.core.content.group.AbstractGroupRepositoryFilter
      • filter

        public List<org.commonjava.indy.model.core.ArtifactStore> filter​(String path,
                                                                         org.commonjava.indy.model.core.Group group,
                                                                         List<org.commonjava.indy.model.core.ArtifactStore> concreteStores)
        Filter for remote repos plus hosted repos which contains the target path. Because caller may try to download the target path from remote repositories.
        Specified by:
        filter in interface org.commonjava.indy.content.GroupRepositoryFilter
        Overrides:
        filter in class org.commonjava.indy.core.content.group.AbstractGroupRepositoryFilter