@Test(expected = IllegalArgumentException.class) public void throwExceptionWhenRepositoryConfigurationAttributesNull() { Configuration config = repository.getConfiguration(); when(config.getAttributes()).thenReturn(null); underTest.detect(repository, orphanedBlobHandler); }
@Override public void detect(final Repository repository, final Consumer<String> handler) { validateRepositoryConfiguration(repository); detect(getBlobStoreForRepository(repository), handler); }
DatastoreOrphanedBlobFinder extends ComponentSupport implements OrphanedBlobFinder { @Override public void detect(final Repository repository, final Consumer<String> handler) { validateRepositoryConfiguration(repository); detect(getBlobStoreForRepository(repository), handler); } }
DatastoreOrphanedBlobFinder extends ComponentSupport implements OrphanedBlobFinder { @Override public void detect(final Repository repository, final Consumer<String> handler) { validateRepositoryConfiguration(repository); detect(getBlobStoreForRepository(repository), handler); } @Inject  DatastoreOrphanedBlobFinder(final RepositoryManager repositoryManager, final BlobStoreManager blobStoreManager); }
DatastoreOrphanedBlobFinder extends ComponentSupport implements OrphanedBlobFinder { @Override public void detect(final Repository repository, final Consumer<String> handler) { validateRepositoryConfiguration(repository); detect(getBlobStoreForRepository(repository), handler); } @Inject  DatastoreOrphanedBlobFinder(final RepositoryManager repositoryManager, final BlobStoreManager blobStoreManager); @Override void delete(); @Override void delete(final Repository repository); @Override void detect(final Repository repository, final Consumer<String> handler); }
DatastoreOrphanedBlobFinder extends ComponentSupport implements OrphanedBlobFinder { @Override public void detect(final Repository repository, final Consumer<String> handler) { validateRepositoryConfiguration(repository); detect(getBlobStoreForRepository(repository), handler); } @Inject  DatastoreOrphanedBlobFinder(final RepositoryManager repositoryManager, final BlobStoreManager blobStoreManager); @Override void delete(); @Override void delete(final Repository repository); @Override void detect(final Repository repository, final Consumer<String> handler);  }