@Test public void supportsRepository() throws Exception { assertTrue(mavenIndexManager.supportsRepository(RepositoryType.MAVEN)); assertFalse(mavenIndexManager.supportsRepository(RepositoryType.NPM)); }
@Override public boolean supportsRepository( RepositoryType type ) { return type == RepositoryType.MAVEN; }
MavenIndexManager implements ArchivaIndexManager { @Override public boolean supportsRepository( RepositoryType type ) { return type == RepositoryType.MAVEN; } }
MavenIndexManager implements ArchivaIndexManager { @Override public boolean supportsRepository( RepositoryType type ) { return type == RepositoryType.MAVEN; }  }
MavenIndexManager implements ArchivaIndexManager { @Override public boolean supportsRepository( RepositoryType type ) { return type == RepositoryType.MAVEN; }  static IndexingContext getMvnContext( ArchivaIndexingContext context ); @Override void pack( final ArchivaIndexingContext context ); @Override void scan(final ArchivaIndexingContext context); @Override void update(final ArchivaIndexingContext context, final boolean fullUpdate); @Override void addArtifactsToIndex( final ArchivaIndexingContext context, final Collection<URI> artifactReference ); @Override void removeArtifactsFromIndex( ArchivaIndexingContext context, Collection<URI> artifactReference ); @Override boolean supportsRepository( RepositoryType type ); @Override ArchivaIndexingContext createContext( Repository repository ); @Override ArchivaIndexingContext reset(ArchivaIndexingContext context); @Override ArchivaIndexingContext move(ArchivaIndexingContext context, Repository repo); @Override void updateLocalIndexPath(Repository repo); @Override ArchivaIndexingContext mergeContexts(Repository destinationRepo, List<ArchivaIndexingContext> contexts,
                                                boolean packIndex); }
MavenIndexManager implements ArchivaIndexManager { @Override public boolean supportsRepository( RepositoryType type ) { return type == RepositoryType.MAVEN; }  static IndexingContext getMvnContext( ArchivaIndexingContext context ); @Override void pack( final ArchivaIndexingContext context ); @Override void scan(final ArchivaIndexingContext context); @Override void update(final ArchivaIndexingContext context, final boolean fullUpdate); @Override void addArtifactsToIndex( final ArchivaIndexingContext context, final Collection<URI> artifactReference ); @Override void removeArtifactsFromIndex( ArchivaIndexingContext context, Collection<URI> artifactReference ); @Override boolean supportsRepository( RepositoryType type ); @Override ArchivaIndexingContext createContext( Repository repository ); @Override ArchivaIndexingContext reset(ArchivaIndexingContext context); @Override ArchivaIndexingContext move(ArchivaIndexingContext context, Repository repo); @Override void updateLocalIndexPath(Repository repo); @Override ArchivaIndexingContext mergeContexts(Repository destinationRepo, List<ArchivaIndexingContext> contexts,
                                                boolean packIndex);  }