Class AbstractTaskLocal
java.lang.Object
jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTask
jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTaskLocal
- Direct Known Subclasses:
AbstractTaskCopyOrMove,AbstractTaskZip,CreateDir,CreateFile,Delete,UnzipDeleteOrig,UnzipRemainOrig
Provides abstract local tasks.
-
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 TypeMethodDescriptiongetConnection(String remoteServer, Map<String, HousekeepFilesAuthRecord> authMap) それぞれのremote通信に対するconnection。"SFTP"などのprotocolを設定。protected FileInfogetRemoteFileInfo(AbstractTask task, ConnectionToRemoteServer connection, boolean isPathDir, String path) Returns null since it's never called.getRemoteFileInfoList(AbstractTask task, ConnectionToRemoteServer connection, boolean isPathDir, String path) Returns null since it's never called.Methods inherited from class jp.ecuacion.tool.housekeepfiles.bl.task.AbstractTask
check, checkNeedRemoteServer, doesCreateOutputFileAutomatically, doTask, doTaskInternal, getFromDirFileInfoList, getInputRuleForDestPath, getInputRuleForSrcPath, getLocalFileInfo, getLocalFileInfoList, getTaskActionKind, getToPathFileInfo, hasDestPathInfo, hasSrcPathInfo, localDirExists, taskDependentCheck, treatDestPathExists, treatIncident
-
Constructor Details
-
AbstractTaskLocal
public AbstractTaskLocal()
-
-
Method Details
-
getConnection
public ConnectionToRemoteServer getConnection(String remoteServer, Map<String, HousekeepFilesAuthRecord> authMap) throws ExceptionDescription copied from class:AbstractTaskそれぞれのremote通信に対するconnection。- Specified by:
getConnectionin classAbstractTask- Throws:
Exception
-
getConnectionProtocol
Description copied from class:AbstractTask"SFTP"などのprotocolを設定。localの場合はnull。- Specified by:
getConnectionProtocolin classAbstractTask
-
getRemoteFileInfo
protected FileInfo getRemoteFileInfo(AbstractTask task, ConnectionToRemoteServer connection, boolean isPathDir, String path) Returns null since it's never called.- Specified by:
getRemoteFileInfoin classAbstractTask
-
getRemoteFileInfoList
protected List<FileInfo> getRemoteFileInfoList(AbstractTask task, ConnectionToRemoteServer connection, boolean isPathDir, String path) Returns null since it's never called.- Specified by:
getRemoteFileInfoListin classAbstractTask
-
isSrcPathLocal
- Specified by:
isSrcPathLocalin classAbstractTask
-
isDestPathLocal
- Specified by:
isDestPathLocalin classAbstractTask
-