|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wrq.vhi.script.api.command.Command com.wrq.vhi.script.api.command.WriteVariableToTerminal
public class WriteVariableToTerminal
A class that represents a VHI WriteVariableToTerminal command.
CommandList
,
HostSession.executeCommandList(com.wrq.vhi.script.api.command.CommandList)
,
HostSession.writeVariableToTerminal(java.lang.String, int, boolean, int)
Constructor Summary | |
---|---|
WriteVariableToTerminal(java.lang.String variable,
int maxLength,
boolean erase,
int waitForEcho)
Constructs a new WriteVarToTerminal command. |
Method Summary | |
---|---|
int |
getMaxLength()
Gets the max length. |
java.lang.String |
getName()
Gets the command name. |
java.lang.String |
getVariable()
Gets the variable name. |
int |
getWaitForEcho()
Gets the wait for echo mode. |
boolean |
isErase()
Gets the erase flag. |
Methods inherited from class com.wrq.vhi.script.api.command.Command |
---|
isValidEchoType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriteVariableToTerminal(java.lang.String variable, int maxLength, boolean erase, int waitForEcho)
variable
- name of variable to be read.maxLength
- the maximum number of characters to writeerase
- if true
and if the maxLength of the string
contained in variable
is less than maxLength
,
pad the value written with spaces until maxLength
characters have been written.waitForEcho
- type of wait for echo to perform. See HostSession.writeVariableToTerminal(java.lang.String, int, boolean, int)
for values.Method Detail |
---|
public java.lang.String getVariable()
public int getMaxLength()
public boolean isErase()
true
and if the maxLength of the string
contained in variable
is less than maxLength
,
pad the value written with spaces until maxLength
characters have been written.public int getWaitForEcho()
HostSession.transmit(java.lang.String)
.public java.lang.String getName()
getName
in class Command
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |