osdep.console
Class ConsoleConfigurationChooser

java.lang.Object
  extended by osdep.console.ConsoleConfigurationChooser
All Implemented Interfaces:
IConfigurationChooser

public class ConsoleConfigurationChooser
extends java.lang.Object
implements IConfigurationChooser

Ask directly to the user which configuration to use, using the console. It is used if the automatic configuration selection did not work.

Author:
SHZ Mar 7, 2008

Constructor Summary
ConsoleConfigurationChooser()
           
 
Method Summary
 ConfigurationEntry getConfiguration()
          Returns the chosen configuration
 void setup(java.util.List<ConfigurationEntry> lstEntry)
          set up the chooser with the possible choices
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleConfigurationChooser

public ConsoleConfigurationChooser()
Method Detail

setup

public void setup(java.util.List<ConfigurationEntry> lstEntry)
Description copied from interface: IConfigurationChooser
set up the chooser with the possible choices

Specified by:
setup in interface IConfigurationChooser
Parameters:
lstEntry - the list of configurations to choose

getConfiguration

public ConfigurationEntry getConfiguration()
Description copied from interface: IConfigurationChooser
Returns the chosen configuration

Specified by:
getConfiguration in interface IConfigurationChooser
Returns:
the configuration that has been chosen