@Override
  public String toString() {
    return "ActionExecutionContext{" +
      "clusterName='" + clusterName + '\'' +
      ", actionName='" + actionName + '\'' +
      ", resourceFilters=" + resourceFilters +
      ", operationLevel=" + operationLevel +
      ", parameters=" + parameters +
      ", targetType=" + targetType +
      ", timeout=" + timeout +
      ", isMaintenanceModeHostExcluded=" + hostsInMaintenanceModeExcluded +
      ", allowRetry=" + allowRetry +
      ", autoSkipFailures=" + autoSkipFailures +
      '}';
  }
Adds a command visitor that will be invoked after a command is created.  Provides access
to the command.

@param visitor the visitor
ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java