@Test public void runNpmRepairComponentAfter() throws Exception { underTest.after(true, repository); Mockito.verify(npmRepairPackageRootComponent).repairRepository(repository); }
@Override public void after(final boolean updateAssets, final Repository repository) { if (updateAssets) { npmRepairPackageRootComponent.repairRepository(repository); } else { log.info("Updating assets disabled so not running repair of npm package metadata"); } }
NpmRestoreBlobStrategy extends BaseRestoreBlobStrategy<NpmRestoreBlobData> { @Override public void after(final boolean updateAssets, final Repository repository) { if (updateAssets) { npmRepairPackageRootComponent.repairRepository(repository); } else { log.info("Updating assets disabled so not running repair of npm package metadata"); } } }
NpmRestoreBlobStrategy extends BaseRestoreBlobStrategy<NpmRestoreBlobData> { @Override public void after(final boolean updateAssets, final Repository repository) { if (updateAssets) { npmRepairPackageRootComponent.repairRepository(repository); } else { log.info("Updating assets disabled so not running repair of npm package metadata"); } } @Inject  NpmRestoreBlobStrategy(final NodeAccess nodeAccess,
                                final RepositoryManager repositoryManager,
                                final BlobStoreManager blobStoreManager,
                                final DryRunPrefix dryRunPrefix,
                                final NpmRepairPackageRootComponent npmRepairPackageRootComponent); }
NpmRestoreBlobStrategy extends BaseRestoreBlobStrategy<NpmRestoreBlobData> { @Override public void after(final boolean updateAssets, final Repository repository) { if (updateAssets) { npmRepairPackageRootComponent.repairRepository(repository); } else { log.info("Updating assets disabled so not running repair of npm package metadata"); } } @Inject  NpmRestoreBlobStrategy(final NodeAccess nodeAccess,
                                final RepositoryManager repositoryManager,
                                final BlobStoreManager blobStoreManager,
                                final DryRunPrefix dryRunPrefix,
                                final NpmRepairPackageRootComponent npmRepairPackageRootComponent); @Override void after(final boolean updateAssets, final Repository repository); }
NpmRestoreBlobStrategy extends BaseRestoreBlobStrategy<NpmRestoreBlobData> { @Override public void after(final boolean updateAssets, final Repository repository) { if (updateAssets) { npmRepairPackageRootComponent.repairRepository(repository); } else { log.info("Updating assets disabled so not running repair of npm package metadata"); } } @Inject  NpmRestoreBlobStrategy(final NodeAccess nodeAccess,
                                final RepositoryManager repositoryManager,
                                final BlobStoreManager blobStoreManager,
                                final DryRunPrefix dryRunPrefix,
                                final NpmRepairPackageRootComponent npmRepairPackageRootComponent); @Override void after(final boolean updateAssets, final Repository repository);  }