else disable(cap);
  public void assign(Capabilities c) {    for (Capability cap: Capability.values()) {      if (c.handles(cap))        enable(cap);    }    setMinimumNumberInstances(c.getMinimumNumberInstances());  }