CASAProcess
takes over the functionality of this class, particularly CASAProcess.main(String[])
.@Deprecated public class CASACommandLine2 extends Object
TransientAgent
using it's text interface. If there are arguments on the command line, it passes them to the agent through it's executeCommand()
method and requests the agent exit. If there are no command line arguments, it allows the agent to wait for command prompts and merely waits for the agent to exit. The agent does not register with the LAC, so no LAC need be started to use the command line (but the command line is typically used to start a LAC).
The most common use of this is to use "read file
Modifier and Type | Field and Description |
---|---|
(package private) static TransientAgent |
agent
Deprecated.
|
(package private) static CasaLispOperator |
loadActPlease
Deprecated.
|
(package private) static boolean |
text
Deprecated.
|
(package private) static boolean |
trace
Deprecated.
|
Constructor and Description |
---|
CASACommandLine2()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
executeCommandLineAgent(String s)
Deprecated.
|
private static void |
fatalError(String s,
boolean fatal)
Deprecated.
|
static void |
main(String[] args)
Deprecated.
Use
CASAProcess.main(String[]) instead |
private static Status |
startAgent(AgentUI ui)
Deprecated.
|
static CasaLispOperator loadActPlease
static TransientAgent agent
static boolean trace
static boolean text
public static void executeCommandLineAgent(String s)
@Deprecated public static void main(String[] args)
CASAProcess.main(String[])
insteadargs
- private static void fatalError(String s, boolean fatal)