code: public String registerTrigger(String triggerGroup, Trigger trigger) throws SchedulerException {
          String triggerId = triggerDao.createTrigger(triggerGroup, trigger);
          if (trigger instanceof ScheduledTrigger) {
              scheduleTrigger((ScheduledTrigger) trigger);
          }
          return triggerId;
      }
docs: Registers a {@code Trigger} with trigger service.
  @warn parameter descriptions missing
  @warn exception SchedulerException description missing
  
  @param triggerGroup
  @param trigger
  @throws SchedulerException
  @return