com.wrq.vhi.script.api.command
Class ReadVariableFromAttribute

java.lang.Object
  extended by com.wrq.vhi.script.api.command.Command
      extended by com.wrq.vhi.script.api.command.ReadVariableFromAttribute

public class ReadVariableFromAttribute
extends Command

A class that represents a VHI ReadVariableFromAttribute command.

See Also:
CommandList, HostSession.executeCommandList(com.wrq.vhi.script.api.command.CommandList), HostSession.readVariableFromAttribute(java.lang.String, java.lang.String)

Constructor Summary
ReadVariableFromAttribute(java.lang.String attribute, java.lang.String variable)
          Constructs a new ReadVarFromAttr command.
 
Method Summary
 java.lang.String getAttribute()
          Gets the attribute name.
 java.lang.String getName()
          Gets the command name.
 java.lang.String getVariable()
          Gets the variable name.
 
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

ReadVariableFromAttribute

public ReadVariableFromAttribute(java.lang.String attribute,
                                 java.lang.String variable)
Constructs a new ReadVarFromAttr command.

Parameters:
attribute -
variable -
Method Detail

getAttribute

public java.lang.String getAttribute()
Gets the attribute name.

Returns:
the attribute name

getVariable

public java.lang.String getVariable()
Gets the variable name.

Returns:
the variable name

getName

public java.lang.String getName()
Gets the command name.

Specified by:
getName in class Command
Returns:
the command name