public abstract class AbstractTask extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
static String |
ARCHPATH
ARCH Path used
|
protected static Pattern |
BLANK |
static String |
BLOCKSIZE
Block size used
|
static String |
DATE
Date in yyyyMMdd format
|
static String |
ERRORCODE
Last Current Error Code
|
static String |
ERRORMSG
Last Current Error Message
|
static String |
ERRORSTRCODE
Last Current Error Code in Full String
|
static String |
FILESIZE
Size of the current FILE
|
static String |
FULLTRANSFERID
Full Transfer id (TRANSFERID_REQUESTERHOST_REQUESTEDHOST)
|
static String |
HOMEPATH
HOME Path used
|
static String |
HOUR
Hour in HHmmss format
|
static String |
INPATH
IN Path used
|
static String |
LOCALEXEC
If specified, use the LocalExec Daemon specified in the global
configuration (default no usage of
LocalExec)
|
static String |
LOCALHOST
Local host id
|
static String |
LOCALHOSTADDR
Local host address
|
static String |
NOWAIT
If specified, no Wait for Task Validation (default is wait)
|
static String |
ORIGINALFILENAME
Original FILENAME (basename) (before changing in retrieval part)
|
static String |
ORIGINALFULLPATH
Current full path of Original FILENAME (as transmitted) (before changing
in
retrieval part)
|
static String |
OUTPATH
OUT Path used
|
static String |
RANKTRANSFER
Current or final RANK of block
|
static String |
REMOTEHOST
Remote host id (if not the initiator of the call)
|
static String |
REMOTEHOSTADDR
Remote host address
|
static String |
REQUESTEDHOST
Requested Host
|
static String |
REQUESTERHOST
Requester Host
|
static String |
RULE
Current full path of current RULE
|
static String |
TRANSFERID
Transfer id
|
static String |
TRUEFILENAME
Current FILENAME (basename) (change in retrieval part)
|
static String |
TRUEFULLPATH
Current full path of current FILENAME
|
static String |
WORKPATH
WORK Path used
|
Modifier and Type | Method and Description |
---|---|
R66Future |
getFutureCompletion() |
protected String |
getReplacedValue(String arg,
Object[] argFormat) |
TaskType |
getType() |
boolean |
isSuccess() |
abstract void |
run()
This is the only interface to execute an operator.
|
protected static final Pattern BLANK
public static final String TRUEFULLPATH
public static final String TRUEFILENAME
public static final String ORIGINALFULLPATH
public static final String ORIGINALFILENAME
public static final String FILESIZE
public static final String RULE
public static final String DATE
public static final String HOUR
public static final String REMOTEHOST
public static final String REMOTEHOSTADDR
public static final String LOCALHOST
public static final String LOCALHOSTADDR
public static final String TRANSFERID
public static final String REQUESTERHOST
public static final String REQUESTEDHOST
public static final String FULLTRANSFERID
public static final String RANKTRANSFER
public static final String BLOCKSIZE
public static final String INPATH
public static final String OUTPATH
public static final String WORKPATH
public static final String ARCHPATH
public static final String HOMEPATH
public static final String ERRORMSG
public static final String ERRORCODE
public static final String ERRORSTRCODE
public static final String NOWAIT
public static final String LOCALEXEC
public TaskType getType()
public abstract void run()
public boolean isSuccess()
public R66Future getFutureCompletion()
protected String getReplacedValue(String arg, Object[] argFormat)
arg
- as the Format string where FIXED items will be
replaced by
context values and next using
argFormat as format second argument; this arg comes from the
rule
itselfargFormat
- as format second argument; this argFormat comes
from
the transfer Information itselfCopyright © 2009–2020 Waarp. All rights reserved.