diff --git a/src/main/java/cactusServer/entities/Instance.java b/src/main/java/cactusServer/entities/Instance.java index 0b9b671..3de5ff9 100644 --- a/src/main/java/cactusServer/entities/Instance.java +++ b/src/main/java/cactusServer/entities/Instance.java @@ -35,6 +35,11 @@ this.name = name; this.state = state; } + + public Instance(String name) { + this.name = name; + this.state = State.AVAILABLE; + } public String getName() { return name;