code: public Trigger getTrigger() {
  
          try {
              String triggerStr = m_config.get(ATTR_TRIGGER);
              if (triggerStr == null) {
                  return DEFAULT_TRIGGER; // trigger is optional, don't log an error
              }
              Trigger trigger = Trigger.valueOf(triggerStr);
              return trigger;
          } catch (Exception e) {
              LOG.error("Error getting configured letsencrypt trigger: " + e.getLocalizedMessage(), e);
              return DEFAULT_TRIGGER;
          }
  
      }
docs: Gets the trigger mode.<p>
  
  @return the trigger mode