package dfatool.strategy.elements;

import java.net.URI;

import org.eclipse.core.runtime.IPath;

import patterns.Subject;

public class Configuration extends Subject{
	
	private Description description;
	private Context context;
	private Network network;
	private static Configuration instance;
	
	private Configuration(IPath projectPath) {
		description = new Description(projectPath);
		network = new Network(projectPath);
		context = new Context(description);
	}
	
	public static void update(IPath projectPath){
		instance = new Configuration(projectPath);
	}
	
	
	public static Configuration getInstance(){
		return instance;
	}
	
	
}
