@Override
  public int hashCode() {
    int result = (int) (targetTaskId ^ (targetTaskId >>> 32));
    result = 31 * result + (reason != null ? reason.hashCode() : 0);
    return result;
  }
Command to report the status of a list of services in roles.
ambari-server/src/main/java/org/apache/ambari/server/agent/CancelCommand.java