public void setAutoSkipOnFailure(boolean skipFailures) {
    autoSkipOnFailure = skipFailures ? 1 : 0;
  }
Sets whether commands which fail and are retryable are automatically
skipped and marked with {@link HostRoleStatus#SKIPPED_FAILED}.

@param skipFailures
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostRoleCommandEntity.java