mqwfes
Class Configuration

java.lang.Object
  |
  +--mqwfes.Configuration

public class Configuration
extends java.lang.Object

This Class represents a complete set of configuration settings
All settings are stored in fields, some have initial default values.

Author:
Kevin Bullmann

Constructor Summary
Configuration()
          Creates a new instance of Config
 
Method Summary
 boolean isComplete()
          States if all nessecary Information for the program has been written to this Configuration Instance
 void migrateConfig(Configuration takeme)
          imports fields of an other Configuration Instance if they are not empty
 void showConfig()
          writes the configuration to stdout
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration()
Creates a new instance of Config

Method Detail

isComplete

public boolean isComplete()
States if all nessecary Information for the program has been written to this Configuration Instance

Returns:
returns true if Configuration is complete

showConfig

public void showConfig()
writes the configuration to stdout


migrateConfig

public void migrateConfig(Configuration takeme)
imports fields of an other Configuration Instance if they are not empty

Parameters:
takeme - the Configuration Instance to migrate fields from