code: public boolean setCurrentConfiguration(CmsGitConfiguration configuration) {
  
          if ((null != configuration) && configuration.isValid()) {
              m_currentConfiguration = configuration;
              return true;
          }
          return false;
      }
docs: Sets the current configuration if it is a valid configuration. Otherwise the configuration is not set.
  @param configuration the configuration to set.
  @return flag, indicating if the configuration is set.