Examples of CapabilityType


Examples of org.sonatype.nexus.capability.CapabilityType

  @Before
  public final void setUpCapabilityOfTypeActiveCondition()
      throws Exception
  {
    final CapabilityType capabilityType = capabilityType(this.getClass().getName());

    when(ref1.context()).thenReturn(mock(CapabilityContext.class));
    when(ref1.context().type()).thenReturn(capabilityType);

    when(ref2.context()).thenReturn(mock(CapabilityContext.class));
View Full Code Here

Examples of org.sonatype.nexus.capability.CapabilityType

  @Before
  public final void setUpCapabilityOfTypeExistsCondition()
      throws Exception
  {
    final CapabilityType capabilityType = capabilityType(this.getClass().getName());

    when(ref1.context()).thenReturn(mock(CapabilityContext.class));
    when(ref1.context().type()).thenReturn(capabilityType);

    when(ref2.context()).thenReturn(mock(CapabilityContext.class));
View Full Code Here

Examples of org.sonatype.nexus.plugins.capabilities.CapabilityType

    final CapabilityRegistry registry = event.getEventSender();

    try {

      final CapabilityType type = ConfigDescriptor.TYPE;

      if (hasNoReference(registry, type)) {

        log.info("provide default capability type={}", type);
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.