@Override public ICapability create(IResource resource) throws CapabilityException { ICapability capability = this.create( resource.getResourceDescriptor().getCapabilityDescriptor(QueueManager.QUEUE), resource.getResourceDescriptor().getId()); capability.setResource(resource); return capability; }
@Override public ICapability create(IResource resource) throws CapabilityException { ICapability capability = this.create( resource .getResourceDescriptor() .getCapabilityDescriptor(PowerSupplyCapability.CAPABILITY_TYPE), resource.getResourceDescriptor().getId()); capability.setResource(resource); return capability; }