com.alibaba.dts.client.executor.grid.queue.TaskEvent Maven / Gradle / Ivy
package com.alibaba.dts.client.executor.grid.queue;
import com.alibaba.dts.common.domain.ExecutableTask;
import com.alibaba.dts.common.domain.remoting.RemoteMachine;
/**
* @author Ronan Zhan
* @date 16/9/27.
*/
public class TaskEvent {
private Object task;
private ExecutableTask executableTask;
private RemoteMachine targetMachine;
public Object getTask() {
return task;
}
public void setTask(Object task) {
this.task = task;
}
public ExecutableTask getExecutableTask() {
return executableTask;
}
public void setExecutableTask(ExecutableTask executableTask) {
this.executableTask = executableTask;
}
public RemoteMachine getTargetMachine() {
return targetMachine;
}
public void setTargetMachine(RemoteMachine targetMachine) {
this.targetMachine = targetMachine;
}
}