openr66.context.task
Class ValidFilePathTask
java.lang.Object
openr66.context.task.AbstractTask
openr66.context.task.ValidFilePathTask
- All Implemented Interfaces:
- Runnable
public class ValidFilePathTask
- extends AbstractTask
This task validate the File Path according to the follwing argument:
- the full path is get from the current file
- the arg path is transformed as usual (static and dynamic from information transfer)
and should be the beginning of the correct valid path
- the full path should begin with one of the result of the transformation (blank separated)
For instance "#OUTPATH# #INPATH# #WORKPATH# #ARHCPATH#" will test that the current file is in one of
the standard path.
- Author:
- Frederic Bregier
Fields inherited from class openr66.context.task.AbstractTask |
ARCHPATH, BLOCKSIZE, DATE, ERRORCODE, ERRORMSG, ERRORSTRCODE, FILESIZE, FULLTRANSFERID, HOMEPATH, HOUR, INPATH, LOCALEXEC, LOCALHOST, LOCALHOSTADDR, NOWAIT, ORIGINALFILENAME, ORIGINALFULLPATH, OUTPATH, RANKTRANSFER, REMOTEHOST, REMOTEHOSTADDR, REQUESTEDHOST, REQUESTERHOST, RULE, TRANSFERID, TRUEFILENAME, TRUEFULLPATH, WORKPATH |
Method Summary |
void |
run()
This is the only interface to execute an operator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidFilePathTask
public ValidFilePathTask(String argRule,
int delay,
String argTransfer,
R66Session session)
- Parameters:
argRule
- delay
- argTransfer
- session
-
run
public void run()
- Description copied from class:
AbstractTask
- This is the only interface to execute an operator.
- Specified by:
run
in interface Runnable
- Specified by:
run
in class AbstractTask
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.