class CoffeeMachine {

	public Coffee brewCoffee(CoffeeSelection selection) throws CoffeeException {
		switch (selection) {
			case FILTER_COFFEE:
				return brewFilterCoffee();
				
			case ESPRESSO:
				return brewEspresso();
							
			default:
				throw new CoffeeException("CoffeeSelection ["+selection+"] not supported!");
		}
	}

	public  CoffeeMachine(Map<CoffeeSelection, CoffeeBean> beans);

}