/**
   * Finalizes (freezes) the configuration of this scheduler job entry.
   *
   * <p>After this job entry has been frozen, any attempt to change the configuration of this entry
   * with one of the "set..." methods will lead to a <code>RuntimeException</code>.
   *
   * <p>
   *
   * @see org.opencms.configuration.I_CmsConfigurationParameterHandler#initConfiguration()
   */
  public void initConfiguration() {

    // simple default configuration does not need to be initialized
    if (LOG.isDebugEnabled()) {
      LOG.debug(
          org.opencms.configuration.Messages.get()
              .getBundle()
              .key(org.opencms.configuration.Messages.LOG_INIT_CONFIGURATION_1, this));
    }
    setFrozen(true);
  }
  /** @see org.opencms.configuration.I_CmsConfigurationParameterHandler#getConfiguration() */
  public CmsParameterConfiguration getConfiguration() {

    // this configuration does not support parameters
    if (LOG.isDebugEnabled()) {
      LOG.debug(
          org.opencms.configuration.Messages.get()
              .getBundle()
              .key(org.opencms.configuration.Messages.LOG_GET_CONFIGURATION_1, this));
    }

    return new CmsParameterConfiguration(getParameters());
  }
  /**
   * @see
   *     org.opencms.configuration.I_CmsConfigurationParameterHandler#addConfigurationParameter(java.lang.String,
   *     java.lang.String)
   */
  public void addConfigurationParameter(String paramName, String paramValue) {

    checkFrozen();
    // add the configured parameter
    m_parameters.put(paramName, paramValue);
    if (LOG.isDebugEnabled()) {
      LOG.debug(
          org.opencms.configuration.Messages.get()
              .getBundle()
              .key(
                  org.opencms.configuration.Messages.LOG_ADD_CONFIG_PARAM_3,
                  paramName,
                  paramValue,
                  this));
    }
  }