Class SftpCopyFromServer
java.lang.Object
jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTask
jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTaskRemote
jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTaskSftp
jp.ecuacion.tool.housekeepfiles.bl.task.SftpCopyFromServer
Provides sftp copy from server task.
-
Field Summary
Fields inherited from class jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTask
dlog, doesCreateOutputFileAutomatically, inputRuleForDestPathInfo, inputRuleForSrcPathInfo, taskPtn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoSpecificTask(ConnectionToRemoteServer connection, HousekeepFilesTaskRecord taskRec, String fromPath, String toPath, List<jp.ecuacion.lib.core.exception.checked.AppException> warnList) Executes task.taskの種類を指定。voidtaskDependentCheck(HousekeepFilesTaskRecord taskRec, List<jp.ecuacion.lib.core.exception.checked.SingleAppException> exList) checkから呼び出される。Methods inherited from class jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTaskSftp
doTaskInternal, getConnection, getConnectionProtocol, getRemoteDetail, getRemoteDirChildrenList, getRemoteDirChildrenNameList, getRemoteFileInfo, getRemoteFileInfoList, remoteDirExists, remoteExists, remoteFileExistsMethods inherited from class jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTask
check, checkNeedRemoteServer, doesCreateOutputFileAutomatically, doTask, getFromDirFileInfoList, getInputRuleForDestPath, getInputRuleForSrcPath, getLocalFileInfo, getLocalFileInfoList, getToPathFileInfo, hasDestPathInfo, hasSrcPathInfo, localDirExists, treatDestPathExists, treatIncident
-
Constructor Details
-
SftpCopyFromServer
public SftpCopyFromServer()Constructs a new instance.
-
-
Method Details
-
getTaskActionKind
Description copied from class:AbstractTasktaskの種類を指定。それによりfrom, toの入力要否などを設定。- Specified by:
getTaskActionKindin classAbstractTask
-
isSrcPathLocal
- Specified by:
isSrcPathLocalin classAbstractTask
-
isDestPathLocal
- Specified by:
isDestPathLocalin classAbstractTask
-
taskDependentCheck
public void taskDependentCheck(HousekeepFilesTaskRecord taskRec, List<jp.ecuacion.lib.core.exception.checked.SingleAppException> exList) Description copied from class:AbstractTaskcheckから呼び出される。各taskにてチェック実装。- Specified by:
taskDependentCheckin classAbstractTask
-
doSpecificTask
protected void doSpecificTask(ConnectionToRemoteServer connection, HousekeepFilesTaskRecord taskRec, String fromPath, String toPath, List<jp.ecuacion.lib.core.exception.checked.AppException> warnList) throws com.jcraft.jsch.SftpException, IOException Description copied from class:AbstractTaskSftpExecutes task.- Specified by:
doSpecificTaskin classAbstractTaskSftp- Throws:
com.jcraft.jsch.SftpExceptionIOException
-