code: @Deprecated
  	public TaskGroupSpecification.Builder toSpecificationBuilder(String locale) {
  		if (locale==null) {
  			throw new IllegalArgumentException("Null locale not allowed.");
  		} else if (!matchesLocale(locale)) {
  			throw new IllegalArgumentException("Argument mismatch: " + getLocale() + " vs " + locale);
  		}
  		return new TaskGroupSpecification.Builder(getInputType(), getOutputType(), locale, getActivity());
  	}
docs: Creates a new task group specification builder with the current information and for the specified locale.
  @param locale the locale
  @return returns a new task group specification builder
  @deprecated use TaskGroupSpecification.with(TaskGroupInformation, String)