code: private void parseParameters(Map<String, String> parameters)
              throws ModuleInitializationException {
          logger.info("Parameters: " + parameters);
  
          String mode = parameters.get(PARAMETER_JOURNAL_MODE);
          if (mode == null) {
              inRecoveryMode = false;
          } else if (mode.equals(VALUE_JOURNAL_MODE_NORMAL)) {
              inRecoveryMode = false;
          } else if (mode.equals(VALUE_JOURNAL_MODE_RECOVER)) {
              inRecoveryMode = true;
          } else {
              throw new ModuleInitializationException("'"
                                                      + PARAMETER_JOURNAL_MODE + "' parameter must be '"
                                                      + VALUE_JOURNAL_MODE_NORMAL + "'(default) or '"
                                                      + VALUE_JOURNAL_MODE_RECOVER + "'", getRole());
          }
      }
docs: Check the parameters for required values and for acceptable values. At
  this point, the only parameter we care about is "mode".