public boolean supportsAutoDeploy() {
    return isValidCount(1) || isAll;
  }
Determine if the cardinality count supports auto-deployment.
This determination is independent of whether the component is configured
to be auto-deployed.  This only indicates whether auto-deployment is
supported for the current cardinality.

At this time, only cardinalities of ALL or where a count of 1 is valid are
supported.

@return true if cardinality supports auto-deployment
ambari-server/src/main/java/org/apache/ambari/server/topology/Cardinality.java