public class OutGivingRun extends Object
Constructor and Description |
---|
OutGivingRun() |
Modifier and Type | Method and Description |
---|---|
static cn.jiangzeyin.common.JsonMessage<String> |
fileUpload(File file,
String levelName,
String projectId,
boolean unzip,
AfterOpt afterOpt,
NodeModel nodeModel,
UserModel userModel,
boolean clearOld)
上传项目文件
|
static void |
startRun(String id,
File file,
UserModel userModel,
boolean unzip)
开始异步执行分发任务
|
public static void startRun(String id, File file, UserModel userModel, boolean unzip)
id
- 分发idfile
- 文件userModel
- 操作的用户unzip
- 解压public static cn.jiangzeyin.common.JsonMessage<String> fileUpload(File file, String levelName, String projectId, boolean unzip, AfterOpt afterOpt, NodeModel nodeModel, UserModel userModel, boolean clearOld)
file
- 需要上传的文件projectId
- 项目idunzip
- 是否需要解压afterOpt
- 是否需要重启nodeModel
- 节点userModel
- 操作用户Copyright © 2017–2022. All rights reserved.