code: @Deprecated
    public static String getTaskIDsPattern(String jtIdentifier, Integer jobId
        , Boolean isMap, Integer taskId) {
      StringBuilder builder = new StringBuilder(TASK).append(SEPARATOR)
        .append(getTaskIDsPatternWOPrefix(jtIdentifier, jobId, isMap, taskId));
      return builder.toString();
    }
docs: Returns a regex pattern which matches task IDs. Arguments can
  be given null, in which case that part of the regex will be generic.
  For example to obtain a regex matching <i>the first map task</i>
  of <i>any jobtracker</i>, of <i>any job</i>, we would use :
  <pre>
  TaskID.getTaskIDsPattern(null, null, true, 1);
  </pre>
  which will return :
  <pre> "task_[^_]*_[0-9]*_m_000001*" </pre>
  @param jtIdentifier jobTracker identifier, or null
  @param jobId job number, or null
  @param isMap whether the tip is a map, or null
  @param taskId taskId number, or null
  @return a regex pattern matching TaskIDs