org.sonatype.nexus.repository.storage.BucketStore Java Examples

The following examples show how to use org.sonatype.nexus.repository.storage.BucketStore. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RestoreMetadataTask.java    From nexus-public with Eclipse Public License 1.0 6 votes vote down vote up
@Inject
public RestoreMetadataTask(final BlobStoreManager blobStoreManager,
                           final RepositoryManager repositoryManager,
                           final Map<String, RestoreBlobStrategy> restoreBlobStrategies,
                           final BlobStoreUsageChecker blobStoreUsageChecker,
                           final DryRunPrefix dryRunPrefix,
                           final Map<String, IntegrityCheckStrategy> integrityCheckStrategies,
                           final BucketStore bucketStore,
                           final MaintenanceService maintenanceService)
{
  this.blobStoreManager = checkNotNull(blobStoreManager);
  this.repositoryManager = checkNotNull(repositoryManager);
  this.restoreBlobStrategies = checkNotNull(restoreBlobStrategies);
  this.blobStoreUsageChecker = checkNotNull(blobStoreUsageChecker);
  this.dryRunPrefix = checkNotNull(dryRunPrefix);
  this.defaultIntegrityCheckStrategy = checkNotNull(integrityCheckStrategies.get(DEFAULT_NAME));
  this.integrityCheckStrategies = checkNotNull(integrityCheckStrategies);
  this.bucketStore = checkNotNull(bucketStore);
  this.maintenanceService = checkNotNull(maintenanceService);
}
 
Example #2
Source File: RepositoryBrowseResource.java    From nexus-public with Eclipse Public License 1.0 6 votes vote down vote up
@Inject
public RepositoryBrowseResource(
    final RepositoryManager repositoryManager,
    final BrowseNodeStore<EntityId> browseNodeStore,
    final BrowseNodeConfiguration configuration,
    final BucketStore bucketStore,
    final TemplateHelper templateHelper,
    final SecurityHelper securityHelper)
{
  this.repositoryManager = checkNotNull(repositoryManager);
  this.browseNodeStore = checkNotNull(browseNodeStore);
  this.configuration = checkNotNull(configuration);
  this.templateHelper = checkNotNull(templateHelper);
  this.securityHelper = checkNotNull(securityHelper);
  this.bucketStore = checkNotNull(bucketStore);
  this.template = getClass().getResource(TEMPLATE_RESOURCE);
  checkNotNull(template);
}
 
Example #3
Source File: BrowseServiceImpl.java    From nexus-public with Eclipse Public License 1.0 6 votes vote down vote up
@Inject
public BrowseServiceImpl(@Named(GroupType.NAME) final Type groupType,
                         final ComponentEntityAdapter componentEntityAdapter,
                         final VariableResolverAdapterManager variableResolverAdapterManager,
                         final ContentPermissionChecker contentPermissionChecker,
                         final AssetEntityAdapter assetEntityAdapter,
                         final BrowseAssetIterableFactory browseAssetIterableFactory,
                         final BrowseAssetsSqlBuilder browseAssetsSqlBuilder,
                         final BrowseComponentsSqlBuilder browseComponentsSqlBuilder,
                         final BucketStore bucketStore,
                         final RepositoryManager repositoryManager)
{
  this.groupType = checkNotNull(groupType);
  this.componentEntityAdapter = checkNotNull(componentEntityAdapter);
  this.variableResolverAdapterManager = checkNotNull(variableResolverAdapterManager);
  this.contentPermissionChecker = checkNotNull(contentPermissionChecker);
  this.assetEntityAdapter = checkNotNull(assetEntityAdapter);
  this.browseAssetIterableFactory = checkNotNull(browseAssetIterableFactory);
  this.browseAssetsSqlBuilder = checkNotNull(browseAssetsSqlBuilder);
  this.browseComponentsSqlBuilder = checkNotNull(browseComponentsSqlBuilder);
  this.bucketStore = checkNotNull(bucketStore);
  this.repositoryManager = checkNotNull(repositoryManager);
}
 
Example #4
Source File: HelmComponentDirector.java    From nexus-repository-helm with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public HelmComponentDirector(
    final BucketStore bucketStore,
    final RepositoryManager repositoryManager)
{
  this.bucketStore = checkNotNull(bucketStore);
  this.repositoryManager = checkNotNull(repositoryManager);
}
 
Example #5
Source File: RComponentDirector.java    From nexus-repository-r with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public RComponentDirector(final BucketStore bucketStore,
                          final RepositoryManager repositoryManager)
{
  this.bucketStore = checkNotNull(bucketStore);
  this.repositoryManager = checkNotNull(repositoryManager);
}
 
Example #6
Source File: AptComponentDirector.java    From nexus-public with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public AptComponentDirector(final BucketStore bucketStore,
                            final RepositoryManager repositoryManager)
{
  this.bucketStore = checkNotNull(bucketStore);
  this.repositoryManager = checkNotNull(repositoryManager);
}
 
Example #7
Source File: OrientRebuildBrowseNodeService.java    From nexus-public with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public OrientRebuildBrowseNodeService(
    final AssetStore assetStore,
    final BucketStore bucketStore,
    final OrientBrowseNodeManager browseNodeManager,
    final BrowseNodeConfiguration configuration)
{
  this.assetStore = checkNotNull(assetStore);
  this.bucketStore = checkNotNull(bucketStore);
  this.browseNodeManager = checkNotNull(browseNodeManager);
  this.rebuildPageSize = checkNotNull(configuration).getRebuildPageSize();
}