Java Code Examples for org.sonatype.nexus.orient.DatabaseInstanceNames#COMPONENT

The following examples show how to use org.sonatype.nexus.orient.DatabaseInstanceNames#COMPONENT . 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: ConanUpgrade_1_1.java    From nexus-repository-conan with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public ConanUpgrade_1_1(
    @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance,
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.configDatabaseInstance = checkNotNull(configDatabaseInstance);
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 2
Source File: PypiUpgrade_1_1.java    From nexus-public with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public PypiUpgrade_1_1(
    @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance,
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.configDatabaseInstance = checkNotNull(configDatabaseInstance);
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 3
Source File: MavenUpgrade_1_1.java    From nexus-public with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public MavenUpgrade_1_1(
    @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance,
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.configDatabaseInstance = checkNotNull(configDatabaseInstance);
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 4
Source File: OrientStatusHealthCheckStore.java    From nexus-public with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public OrientStatusHealthCheckStore(
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> databaseInstance,
    final OrientStatusHealthCheckEntityAdapter entityAdapter,
    final NodeAccess nodeAccess)
{
  this.databaseInstance = checkNotNull(databaseInstance);
  this.entityAdapter = checkNotNull(entityAdapter);
  this.nodeAccess = checkNotNull(nodeAccess);
}
 
Example 5
Source File: P2Upgrade_1_1.java    From nexus-repository-p2 with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public P2Upgrade_1_1(
    @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance,
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.configDatabaseInstance = checkNotNull(configDatabaseInstance);
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 6
Source File: ComponentDatabaseUpgrade_1_11.java    From nexus-public with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_11(
    @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance,
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.configDatabaseInstance = checkNotNull(configDatabaseInstance);
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 7
Source File: ComponentDatabaseUpgrade_1_10.java    From nexus-public with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_10(
    @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance,
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.configDatabaseInstance = checkNotNull(configDatabaseInstance);
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 8
Source File: ConfigDatabaseUpgrade_1_2.java    From nexus-public with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public ConfigDatabaseUpgrade_1_2(
    @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance,
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.configDatabaseInstance = checkNotNull(databaseInstance);
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 9
Source File: ComponentDatabaseUpgrade_1_9.java    From nexus-public with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_9(
    @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance,
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.configDatabaseInstance = checkNotNull(configDatabaseInstance);
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 10
Source File: ComponentDatabaseUpgrade_1_1.java    From nexus-public with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_1(
    @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance,
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.configDatabaseInstance = checkNotNull(configDatabaseInstance);
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 11
Source File: ComponentDatabaseUpgrade_1_8.java    From nexus-public with Eclipse Public License 1.0 4 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_8(
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 12
Source File: ComponentDatabaseUpgrade_1_6.java    From nexus-public with Eclipse Public License 1.0 4 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_6(
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 13
Source File: ComponentDatabaseUpgrade_1_14.java    From nexus-public with Eclipse Public License 1.0 4 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_14(@Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) {
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 14
Source File: ComponentDatabaseUpgrade_1_4.java    From nexus-public with Eclipse Public License 1.0 4 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_4(
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 15
Source File: ComponentDatabaseUpgrade_1_7.java    From nexus-public with Eclipse Public License 1.0 4 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_7(
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 16
Source File: ComponentDatabaseUpgrade_1_3.java    From nexus-public with Eclipse Public License 1.0 4 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_3(
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 17
Source File: ComponentDatabaseUpgrade_1_13.java    From nexus-public with Eclipse Public License 1.0 4 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_13(@Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) {
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 18
Source File: ComponentDatabaseUpgrade_1_2.java    From nexus-public with Eclipse Public License 1.0 4 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_2(
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}
 
Example 19
Source File: ComponentDatabaseUpgrade_1_5.java    From nexus-public with Eclipse Public License 1.0 4 votes vote down vote up
@Inject
public ComponentDatabaseUpgrade_1_5(
    @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance)
{
  this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance);
}