Merge pull request #101 from SCS-ASSE-FS21-Group1/Renam-task-type
Renaming task type
This commit is contained in:
commit
7e34a5a7b1
|
@ -1,7 +1,7 @@
|
||||||
package ch.unisg.executorbase.executor.domain;
|
package ch.unisg.executorbase.executor.domain;
|
||||||
|
|
||||||
public enum ExecutorType {
|
public enum ExecutorType {
|
||||||
ADDITION, ROBOT;
|
COMPUTATION, ROBOT;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if the give executor type exists.
|
* Checks if the give executor type exists.
|
||||||
|
|
|
@ -7,7 +7,7 @@ import ch.unisg.executorbase.executor.domain.ExecutorType;
|
||||||
|
|
||||||
public class Executor extends ExecutorBase {
|
public class Executor extends ExecutorBase {
|
||||||
|
|
||||||
private static final Executor executor = new Executor(ExecutorType.ADDITION);
|
private static final Executor executor = new Executor(ExecutorType.COMPUTATION);
|
||||||
|
|
||||||
public static Executor getExecutor() {
|
public static Executor getExecutor() {
|
||||||
return executor;
|
return executor;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user