code: public void setJobTypes(final Map<String, ? extends Class<?>> jobTypes) {
          checkJobTypes(jobTypes);
          this.jobTypes.clear();
          this.jobTypes.putAll(jobTypes);
      }
docs: Clear any current allowed job types and use the given set.
  @param jobTypes the job types to allow