AutorunCommand
instead
A command to write commands to the device's autorun file
This command does not use the library marker and command index because they
would be interpreted as part of the command to be added to the autorun file.
So, by default, this command will capture non-library responses to allow
synchronous commands to execute correctly.@Deprecated public class WriteAutorunFileCommand extends AsciiSelfResponderCommandBase
LibraryCommandId
Constructor and Description |
---|
WriteAutorunFileCommand()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IAsciiCommand |
getAutorunCommand()
Deprecated.
|
java.lang.String |
getCommandLine()
Deprecated.
Builds the command line to send to the reader to execute the command
|
java.lang.String |
getValue()
Deprecated.
|
void |
setAutorunCommand(IAsciiCommand command)
Deprecated.
|
void |
setValue(java.lang.String value)
Deprecated.
|
static WriteAutorunFileCommand |
synchronousCommand()
Deprecated.
Returns a new instance of the WriteAutorunFileCommand class that will execute synchronously (as its own responder)
|
buildCommandLine, getMaxSynchronousWaitTime, getSynchronousCommandResponder, setMaxSynchronousWaitTime, setSynchronousCommandResponder
captureNonLibraryResponses, processReceivedLine, setCaptureNonLibraryResponses
clearLastResponse, getCommandName, getResponseLifecycleDelegate, getResponseStarted, isResponseFinished, parseParameters, processReceivedLine, responseDidFinish, responseDidReceiveParameter, responseDidStart, setCommandName, setResponseLifecycleDelegate, setResponseStarted, splitParameters
appendToMessages, appendToParameters, appendToResponse, getErrorCode, getMessages, getParameters, getResponse, isSuccessful, setErrorCode, setIsSuccessful, setResponse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommandName
public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the new autorun command line as a stringpublic IAsciiCommand getAutorunCommand()
public void setAutorunCommand(IAsciiCommand command)
command
- the new autorun command line as an AsciiCommandpublic static WriteAutorunFileCommand synchronousCommand()
public java.lang.String getCommandLine()
getCommandLine
in interface IAsciiCommand
getCommandLine
in class AsciiCommandResponderBase