Package org.apache.maven.index.context

Examples of org.apache.maven.index.context.DocumentFilter


        iur =
            new IndexUpdateRequest( centralContext, new WagonHelper( getContainer() ).getWagonResourceFetcher( null ) );
        iur.setForceFullUpdate( true );
        // just a dummy filter to invoke filtering! -- this is what I broke unnoticing it
        iur.setDocumentFilter( new DocumentFilter()
        {
            public boolean accept( Document doc )
            {
                return true;
            }
View Full Code Here


    }
  }

  // TODO Toni Prior Snownexus, this was contained in RepositoryPolicy split to separate concerns (NEXUS-2872)
  private DocumentFilter getFilterFor(final RepositoryPolicy repositoryPolicy) {
    return new DocumentFilter()
    {
      public boolean accept(Document doc) {
        String uinfo = doc.get(ArtifactInfo.UINFO);

        if (uinfo == null) {
View Full Code Here

TOP

Related Classes of org.apache.maven.index.context.DocumentFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.