public void dumpOptions(){
  logger.info("");
  for (  Method getter : GetConfigurationInterface.class.getMethods()) {
    String getterName=getter.getName();
    try {
      Object result=getter.invoke(ConfigurationManager.getCurrentProfile());
      if (result instanceof Boolean) {
        result=LocalizationHelper.getYesOrNo((Boolean)result);
      }
      if (result instanceof List) {
        for (int i=0; i < ((List)result).size(); i++) {
          assert ((List)result).get(i) instanceof CustomCatalogEntry;
          CustomCatalogEntry c=((List<CustomCatalogEntry>)result).get(i);
          String OptionName=Helper.pad(Localization.Main.getText("gui.tab6.label") + " [" + (i + 1)+ "], "+ c.getAtTop().toString(),' ',50) + " : ";
          logger.info(OptionName + c.getLabel() + " ("+ c.getValue().toString()+ "), "+ c.getAtTop().toString());
        }
      }
 else {
        String optionName=getterName.substring(3);
        dumpOption(optionName,result);
      }
    }
 catch (    IllegalAccessException e) {
      logger.warn("",e);
    }
catch (    InvocationTargetException e) {
      logger.warn("",e);
    }
  }
  logger.info("");
}

public void dumpOptions ( ) { logger . info ( "" ) ; for ( Method getter : GetConfigurationInterface . class . getMethods ( ) ) { String getterName = getter . getName ( ) ; try { Object result = getter . invoke ( ConfigurationManager . getCurrentProfile ( ) ) ; if ( result instanceof Boolean ) { result = LocalizationHelper . getYesOrNo ( ( Boolean ) result ) ; } if ( result instanceof List ) { for ( int i = 0 ; i < ( ( List ) result ) . size ( ) ; i ++ ) { assert ( ( List ) result ) . get ( i ) instanceof CustomCatalogEntry ; CustomCatalogEntry c = ( ( List < CustomCatalogEntry > ) result ) . get ( i ) ; String OptionName = Helper . pad ( Localization . Main . getText ( "gui.tab6.label" ) + " [" + ( i + 1 ) + "], " + c . getAtTop ( ) . toString ( ) , ' ' , 50 ) + " : " ; logger . info ( OptionName + c . getLabel ( ) + " (" + c . getValue ( ) . toString ( ) + "), " + c . getAtTop ( ) . toString ( ) ) ; } } else { String optionName = getterName . substring ( 3 ) ; dumpOption ( optionName , result ) ; } } catch ( IllegalAccessException e ) { logger . warn ( "" , e ) ; } catch ( InvocationTargetException e ) { logger . warn ( "" , e ) ; } } logger . info ( "" ) ; }
dump all the configuration options listed as get methods in the configuration interface .
