Browse Source

update worker group

pull/2/head
baoliang 6 years ago
parent
commit
ac3cedc277
  1. 15
      escheduler-dao/src/main/java/cn/escheduler/dao/model/ErrorCommand.java

15
escheduler-dao/src/main/java/cn/escheduler/dao/model/ErrorCommand.java

@ -95,6 +95,11 @@ public class ErrorCommand {
*/
private String message;
/**
* worker group id
*/
private int workerGroupId;
public ErrorCommand(Command command, String message){
this.commandType = command.getCommandType();
@ -245,6 +250,14 @@ public class ErrorCommand {
this.updateTime = updateTime;
}
public int getWorkerGroupId() {
return workerGroupId;
}
public void setWorkerGroupId(int workerGroupId) {
this.workerGroupId = workerGroupId;
}
@Override
public String toString() {
return "Command{" +
@ -272,4 +285,6 @@ public class ErrorCommand {
public void setMessage(String message) {
this.message = message;
}
}

Loading…
Cancel
Save