cn.novelweb.video.pojo.CommandTask Maven / Gradle / Ivy
package cn.novelweb.video.pojo;
import cn.novelweb.video.command.handler.OutHandler;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 用于存放任务id,任务主进程,任务输出线程
* 2020-02-24 17:43
*
* @author Dai Yuanchuan
**/
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class CommandTask {
/**
* 任务id
*/
private String taskId;
/**
* 具体命令行
*/
private String command;
/**
* 命令行运行主进程
*/
private Process process;
/**
* 命令行消息输出子线程
*/
private OutHandler thread;
}