@Test public void capabilityOfTypeExists() { assertThat( underTest.capabilityOfTypeExists(capabilityType("test")), is(Matchers.<Condition>instanceOf(CapabilityOfTypeExistsCondition.class)) ); }
@Override public Condition capabilityOfTypeExists(final CapabilityType type) { return new CapabilityOfTypeExistsCondition(eventManager, descriptorRegistry, capabilityRegistry, type); }
CapabilityConditionsImpl implements CapabilityConditions { @Override public Condition capabilityOfTypeExists(final CapabilityType type) { return new CapabilityOfTypeExistsCondition(eventManager, descriptorRegistry, capabilityRegistry, type); } }
CapabilityConditionsImpl implements CapabilityConditions { @Override public Condition capabilityOfTypeExists(final CapabilityType type) { return new CapabilityOfTypeExistsCondition(eventManager, descriptorRegistry, capabilityRegistry, type); } @Inject  CapabilityConditionsImpl(final EventManager eventManager,
                                  final CapabilityDescriptorRegistry descriptorRegistry,
                                  final CapabilityRegistry capabilityRegistry); }
CapabilityConditionsImpl implements CapabilityConditions { @Override public Condition capabilityOfTypeExists(final CapabilityType type) { return new CapabilityOfTypeExistsCondition(eventManager, descriptorRegistry, capabilityRegistry, type); } @Inject  CapabilityConditionsImpl(final EventManager eventManager,
                                  final CapabilityDescriptorRegistry descriptorRegistry,
                                  final CapabilityRegistry capabilityRegistry); @Override Condition capabilityOfTypeExists(final CapabilityType type); @Override Condition capabilityOfTypeActive(final CapabilityType type); @Override Condition passivateCapabilityDuringUpdate(); @Override Condition passivateCapabilityWhenPropertyChanged(final String... propertyNames); @Override Condition capabilityHasNoFailures(); @Override Condition evaluable(final Evaluable condition); @Override Condition capabilityHasNoDuplicates(); }
CapabilityConditionsImpl implements CapabilityConditions { @Override public Condition capabilityOfTypeExists(final CapabilityType type) { return new CapabilityOfTypeExistsCondition(eventManager, descriptorRegistry, capabilityRegistry, type); } @Inject  CapabilityConditionsImpl(final EventManager eventManager,
                                  final CapabilityDescriptorRegistry descriptorRegistry,
                                  final CapabilityRegistry capabilityRegistry); @Override Condition capabilityOfTypeExists(final CapabilityType type); @Override Condition capabilityOfTypeActive(final CapabilityType type); @Override Condition passivateCapabilityDuringUpdate(); @Override Condition passivateCapabilityWhenPropertyChanged(final String... propertyNames); @Override Condition capabilityHasNoFailures(); @Override Condition evaluable(final Evaluable condition); @Override Condition capabilityHasNoDuplicates();  }