Package org.sonatype.nexus.capability

Examples of org.sonatype.nexus.capability.CapabilityReference.context()


          null  // no configuration
      );
    }
    else {
      return capabilityRegistry.update(
          reference.context().id(),
          enabled,
          reference.context().notes(),
          reference.context().properties()
      );
    }
View Full Code Here


    }
    else {
      return capabilityRegistry.update(
          reference.context().id(),
          enabled,
          reference.context().notes(),
          reference.context().properties()
      );
    }
  }
View Full Code Here

    else {
      return capabilityRegistry.update(
          reference.context().id(),
          enabled,
          reference.context().notes(),
          reference.context().properties()
      );
    }
  }

}
View Full Code Here

          new RepositoryCapabilityConfiguration().withRepositoryId(id).asMap()
      );
    }
    else {
      return capabilityRegistry.update(
          reference.context().id(),
          enabled,
          reference.context().notes(),
          reference.context().properties()
      );
    }
View Full Code Here

    }
    else {
      return capabilityRegistry.update(
          reference.context().id(),
          enabled,
          reference.context().notes(),
          reference.context().properties()
      );
    }
  }
View Full Code Here

    else {
      return capabilityRegistry.update(
          reference.context().id(),
          enabled,
          reference.context().notes(),
          reference.context().properties()
      );
    }
  }

}
View Full Code Here

  {
    try {
      lock.readLock().lock();
      final CapabilityReference reference = getManager(type).get(id);
      return new TrustStoreKeyXO().withEnabled(
          reference != null && reference.context().isEnabled()
      );
    }
    finally {
      lock.readLock().unlock();
    }
View Full Code Here

            configuration.getYumGroupsDefinitionFile()
        );

    try {
      capabilityRegistry.update(
          capabilityReference.context().id(),
          capabilityReference.context().isEnabled(),
          capabilityReference.context().notes(),
          newConfiguration.asMap()
      );
    }
View Full Code Here

        );

    try {
      capabilityRegistry.update(
          capabilityReference.context().id(),
          capabilityReference.context().isEnabled(),
          capabilityReference.context().notes(),
          newConfiguration.asMap()
      );
    }
    catch (CapabilityNotFoundException e) {
View Full Code Here

    try {
      capabilityRegistry.update(
          capabilityReference.context().id(),
          capabilityReference.context().isEnabled(),
          capabilityReference.context().notes(),
          newConfiguration.asMap()
      );
    }
    catch (CapabilityNotFoundException e) {
      throw new ResourceException(Status.CLIENT_ERROR_NOT_FOUND, e.getMessage());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.