Commit 51a05602 authored by Mathieu Gicquel's avatar Mathieu Gicquel
Browse files

Add new constructor

parent 6700fd64
......@@ -13,6 +13,7 @@ public class Context extends AbstractContext implements IContext {
private MultipleReference<ITask> tasks;
public Context() {
super();
this.tasks = new ReferenceContextToTasks(this);
}
......@@ -22,6 +23,10 @@ public class Context extends AbstractContext implements IContext {
this.idServer = other.getServerIdentifier();
}
public Context(String name) {
super(name);
}
@Override
public String getName() {
return contextName;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment