Class SftpCreateDir
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.SftpCreateDir
- All Implemented Interfaces:
jp.ecuacion.tool.housekeepfiles.bl.task.internal.CreateDirInterface
public class SftpCreateDir
extends AbstractTaskSftp
implements jp.ecuacion.tool.housekeepfiles.bl.task.internal.CreateDirInterface
Provides sftp create directory 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 srcPath, String destPath, 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, treatIncidentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jp.ecuacion.tool.housekeepfiles.bl.task.internal.CreateDirInterface
taskDependentCheckCreateDir
-
Constructor Details
-
SftpCreateDir
public SftpCreateDir()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 srcPath, String destPath, List<jp.ecuacion.lib.core.exception.checked.AppException> warnList) throws Exception Description copied from class:AbstractTaskSftpExecutes task.- Specified by:
doSpecificTaskin classAbstractTaskSftp- Throws:
Exception
-