/** * Returns a queryable that can be used to obtain any artifact keys that * are needed for the provisioning operation. * * @param monitor a progress monitor to be used when creating the queryable * @return a queryable that can be used to query available artifact keys. * * @see #setArtifactRepositories(URI[]) */ public IQueryable<IArtifactKey> getArtifactKeys(IProgressMonitor monitor) { return QueryUtil.compoundQueryable(getLoadedArtifactRepositories(monitor)); }
/** * Returns a queryable that can be used to obtain any artifact repositories that * are needed for the provisioning operation. * * @param monitor a progress monitor to be used when creating the queryable * @return a queryable that can be used to query available artifact repositories. * * @see #setArtifactRepositories(URI[]) */ public IQueryable<IArtifactRepository> getArtifactRepositories(IProgressMonitor monitor) { return new ArtifactRepositoryQueryable(getLoadedArtifactRepositories(monitor)); }
/** * Returns a queryable that can be used to obtain any artifact repositories that * are needed for the provisioning operation. * * @param monitor a progress monitor to be used when creating the queryable * @return a queryable that can be used to query available artifact repositories. * * @see #setArtifactRepositories(URI[]) */ public IQueryable<IArtifactRepository> getArtifactRepositories(IProgressMonitor monitor) { return new ArtifactRepositoryQueryable(getLoadedArtifactRepositories(monitor)); }
/** * Returns a queryable that can be used to obtain any artifact keys that * are needed for the provisioning operation. * * @param monitor a progress monitor to be used when creating the queryable * @return a queryable that can be used to query available artifact keys. * * @see #setArtifactRepositories(URI[]) */ public IQueryable<IArtifactKey> getArtifactKeys(IProgressMonitor monitor) { return QueryUtil.compoundQueryable(getLoadedArtifactRepositories(monitor)); }
/** * Returns a queryable that can be used to obtain any artifact descriptors that * are needed for the provisioning operation. * * @param monitor a progress monitor to be used when creating the queryable * @return a queryable that can be used to query available artifact descriptors. * * @see #setArtifactRepositories(URI[]) */ public IQueryable<IArtifactDescriptor> getArtifactDescriptors(IProgressMonitor monitor) { List<IArtifactRepository> repos = getLoadedArtifactRepositories(monitor); List<IQueryable<IArtifactDescriptor>> descriptorQueryables = new ArrayList<IQueryable<IArtifactDescriptor>>(); for (IArtifactRepository repo : repos) { descriptorQueryables.add(repo.descriptorQueryable()); } return QueryUtil.compoundQueryable(descriptorQueryables); }
/** * Returns a queryable that can be used to obtain any artifact descriptors that * are needed for the provisioning operation. * * @param monitor a progress monitor to be used when creating the queryable * @return a queryable that can be used to query available artifact descriptors. * * @see #setArtifactRepositories(URI[]) */ public IQueryable<IArtifactDescriptor> getArtifactDescriptors(IProgressMonitor monitor) { List<IArtifactRepository> repos = getLoadedArtifactRepositories(monitor); List<IQueryable<IArtifactDescriptor>> descriptorQueryables = new ArrayList<>(); for (IArtifactRepository repo : repos) { descriptorQueryables.add(repo.descriptorQueryable()); } return QueryUtil.compoundQueryable(descriptorQueryables); }