openr66.context.task
Class ExecMoveTask

java.lang.Object
  extended by openr66.context.task.AbstractTask
      extended by openr66.context.task.ExecMoveTask
All Implemented Interfaces:
Runnable

public class ExecMoveTask
extends AbstractTask

Execute an external command and Rename the file (using the new name from the result).
The move of the file (if any) should be done by the external command itself.

waitForValidation (#NOWAIT#) must not be set since it will prevent to have the MOVE TASK to occur normally. So even if set, the #NOWAIT# will be ignored.

Author:
Frederic Bregier

Field Summary
 
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
 
Constructor Summary
ExecMoveTask(String argRule, int delay, String argTransfer, R66Session session)
           
 
Method Summary
 void run()
          This is the only interface to execute an operator.
 
Methods inherited from class openr66.context.task.AbstractTask
getFutureCompletion, getReplacedValue, isSuccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecMoveTask

public ExecMoveTask(String argRule,
                    int delay,
                    String argTransfer,
                    R66Session session)
Parameters:
argRule -
delay -
argTransfer -
session -
Method Detail

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.