public abstract class AbstractExecJavaTask extends Object implements R66Runnable
Modifier and Type | Field and Description |
---|---|
protected static Pattern |
BLANK |
protected boolean |
callFromBusiness |
protected String |
classname |
protected int |
delay |
protected String |
finalInformation |
protected String |
fullarg |
protected boolean |
isToValidate |
protected R66Session |
session |
protected int |
status |
protected boolean |
useLocalExec |
protected boolean |
waitForValidation |
Constructor and Description |
---|
AbstractExecJavaTask() |
Modifier and Type | Method and Description |
---|---|
void |
finalValidate(Object object)
To be called by the requester when finished
|
int |
getFinalStatus() |
void |
invalid()
To be used if abnormal usage is made of one Java Method
|
void |
run() |
void |
setArgs(R66Session session,
boolean waitForValidation,
boolean useLocalExec,
int delay,
String classname,
String arg,
boolean callFromBusiness,
boolean isToValidate)
The way the parameter will be set
|
String |
toString() |
void |
validate(BusinessRequestPacket packet)
Server side method to validate the request
|
protected static final Pattern BLANK
protected int delay
protected int status
protected R66Session session
protected boolean waitForValidation
protected boolean useLocalExec
protected String classname
protected String fullarg
protected boolean isToValidate
protected boolean callFromBusiness
protected String finalInformation
public void validate(BusinessRequestPacket packet)
packet
- public void finalValidate(Object object)
object
- special object to get backpublic void invalid()
public void setArgs(R66Session session, boolean waitForValidation, boolean useLocalExec, int delay, String classname, String arg, boolean callFromBusiness, boolean isToValidate)
R66Runnable
setArgs
in interface R66Runnable
session
- The current R66SessionwaitForValidation
- True if the caller will wait up to delay
time
in msuseLocalExec
- True if currently R66 is configured to use
LocalExec (may be ignored)delay
- Delay in ms used only if waitForValidation is Trueclassname
- The Classnamearg
- full argumentcallFromBusiness
- True if called from Business operation,
not
taskisToValidate
- True if the call from Business is to Validatepublic int getFinalStatus()
getFinalStatus
in interface R66Runnable
public String toString()
toString
in interface R66Runnable
toString
in class Object
Copyright © 2009–2020 Waarp. All rights reserved.