code: private static Task genSetThreadLocalRefValue(final String refid, final String value) {
          final SetThreadLocalTask task = new SetThreadLocalTask();
          task.setRefid(refid);
          task.setValue(value);
          return task;
      }
docs: Return a task configured to set the thread local value for a particular refid
  
  @param refid the refid
  @param value the value to set
  
  @return the Task