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 { ...@@ -13,6 +13,7 @@ public class Context extends AbstractContext implements IContext {
private MultipleReference<ITask> tasks; private MultipleReference<ITask> tasks;
public Context() { public Context() {
super();
this.tasks = new ReferenceContextToTasks(this); this.tasks = new ReferenceContextToTasks(this);
} }
...@@ -22,6 +23,10 @@ public class Context extends AbstractContext implements IContext { ...@@ -22,6 +23,10 @@ public class Context extends AbstractContext implements IContext {
this.idServer = other.getServerIdentifier(); this.idServer = other.getServerIdentifier();
} }
public Context(String name) {
super(name);
}
@Override @Override
public String getName() { public String getName() {
return contextName; return contextName;
......
Supports Markdown
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