use of com.orion.ops.consts.sftp.SftpPackageType in project orion-ops by lijiahangmax.
the class SftpController method transferPackage.
/**
* 传输打包 全部已完成未删除的文件
*/
@RequestMapping("/transfer/{sessionToken}/{packageType}/package")
@EventLog(EventType.SFTP_PACKAGE)
public void transferPackage(@PathVariable("sessionToken") String sessionToken, @PathVariable("packageType") Integer packageType) {
SftpPackageType sftpPackageType = Valid.notNull(SftpPackageType.of(packageType));
sftpService.transferPackage(sessionToken, sftpPackageType);
}
Aggregations