code: public String getBuildDescription() {
          StringBuilder sb = new StringBuilder();
          for (String name : startParameter.getExcludedTaskNames()) {
              sb.append("-x ");
              sb.append(name);
              sb.append(" ");
          }
          for (String name : startParameter.getTaskNames()) {
              sb.append(name);
              sb.append(" ");
          }
          String tasks = sb.toString();
          if (tasks.length() == 0) {
              tasks = "(no tasks specified)";
          }
          return "Profiled build: " + tasks;
      }
docs: Get a description of this profiled build. It contains info about tasks passed to gradle as targets from the command line.