@Override
  public Task.Type getFunction() {
    return Task.Type.RESTART;
  }
Used for a group that restarts services.
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/RestartGrouping.java