Class CreateDir
java.lang.Object
jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTask
jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTaskLocal
jp.ecuacion.tool.housekeepfiles.bl.task.CreateDir
- All Implemented Interfaces:
jp.ecuacion.tool.housekeepfiles.bl.task.internal.CreateDirInterface
public class CreateDir
extends AbstractTaskLocal
implements jp.ecuacion.tool.housekeepfiles.bl.task.internal.CreateDirInterface
Provides 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 voiddoTaskInternal(ConnectionToRemoteServer conn, HousekeepFilesTaskRecord taskRec, String srcPath, String destPath, List<jp.ecuacion.lib.core.exception.checked.AppException> warnList) doTaskから呼び出される。taskの種類を指定。voidtaskDependentCheck(HousekeepFilesTaskRecord taskRec, List<jp.ecuacion.lib.core.exception.checked.SingleAppException> exList) checkから呼び出される。Methods inherited from class jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTaskLocal
getConnection, getConnectionProtocol, getRemoteFileInfo, getRemoteFileInfoList, isDestPathLocal, isSrcPathLocalMethods 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
-
CreateDir
public CreateDir()Constructs a new instance.
-
-
Method Details
-
getTaskActionKind
Description copied from class:AbstractTasktaskの種類を指定。それによりfrom, toの入力要否などを設定。- Specified by:
getTaskActionKindin 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
-
doTaskInternal
protected void doTaskInternal(ConnectionToRemoteServer conn, HousekeepFilesTaskRecord taskRec, String srcPath, String destPath, List<jp.ecuacion.lib.core.exception.checked.AppException> warnList) throws Exception Description copied from class:AbstractTaskdoTaskから呼び出される。各taskにて処理実装。- Specified by:
doTaskInternalin classAbstractTask- Throws:
Exception
-