|
|
@ -114,7 +114,7 @@ public class TaskEvent { |
|
|
|
event.setExecutePath(command.getExecutePath()); |
|
|
|
event.setExecutePath(command.getExecutePath()); |
|
|
|
event.setLogPath(command.getLogPath()); |
|
|
|
event.setLogPath(command.getLogPath()); |
|
|
|
event.setAppIds(command.getAppIds()); |
|
|
|
event.setAppIds(command.getAppIds()); |
|
|
|
event.setWorkerAddress(command.getHost()); |
|
|
|
event.setWorkerAddress(command.getTaskInstanceHost()); |
|
|
|
event.setEvent(TaskEventType.RUNNING); |
|
|
|
event.setEvent(TaskEventType.RUNNING); |
|
|
|
return event; |
|
|
|
return event; |
|
|
|
} |
|
|
|
} |
|
|
@ -131,7 +131,7 @@ public class TaskEvent { |
|
|
|
event.setProcessId(command.getProcessId()); |
|
|
|
event.setProcessId(command.getProcessId()); |
|
|
|
event.setAppIds(command.getAppIds()); |
|
|
|
event.setAppIds(command.getAppIds()); |
|
|
|
event.setVarPool(command.getVarPool()); |
|
|
|
event.setVarPool(command.getVarPool()); |
|
|
|
event.setWorkerAddress(command.getHost()); |
|
|
|
event.setWorkerAddress(command.getTaskInstanceHost()); |
|
|
|
event.setEvent(TaskEventType.RESULT); |
|
|
|
event.setEvent(TaskEventType.RESULT); |
|
|
|
return event; |
|
|
|
return event; |
|
|
|
} |
|
|
|
} |
|
|
@ -151,7 +151,7 @@ public class TaskEvent { |
|
|
|
event.setTaskInstanceId(command.getTaskInstanceId()); |
|
|
|
event.setTaskInstanceId(command.getTaskInstanceId()); |
|
|
|
event.setStartTime(DateUtils.timeStampToDate(command.getStartTime())); |
|
|
|
event.setStartTime(DateUtils.timeStampToDate(command.getStartTime())); |
|
|
|
event.setLogPath(command.getLogPath()); |
|
|
|
event.setLogPath(command.getLogPath()); |
|
|
|
event.setWorkerAddress(command.getHost()); |
|
|
|
event.setWorkerAddress(command.getTaskInstanceHost()); |
|
|
|
event.setEvent(TaskEventType.UPDATE_PID); |
|
|
|
event.setEvent(TaskEventType.UPDATE_PID); |
|
|
|
return event; |
|
|
|
return event; |
|
|
|
} |
|
|
|
} |
|
|
|