@SimulationSupport public class GateTask extends Object implements Closeable
| Constructor and Description |
|---|
GateTask(GateProfile profile,
GateScript script,
String sessionId,
boolean createSession,
boolean completeSession,
ParameterList arguments)
Creates a new instance.
|
public GateTask(GateProfile profile, GateScript script, String sessionId, boolean createSession, boolean completeSession, ParameterList arguments) throws IOException
profile - the gate profilescript - the gate scriptsessionId - current session IDcreateSession - true to create a new session, otherwise falsecompleteSession - true to complete the session, otherwise falsearguments - execution arguments (argument name => value)IOException - if failed to initialize the taskIllegalArgumentException - if any parameter is nullpublic void execute()
throws IOException,
InterruptedException
IOException - if failedInterruptedException - if interruptedpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.