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

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

public class UpdateAttribute
extends Command

A class that represents a VHI UpdateAttribute command.

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

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

UpdateAttribute

public UpdateAttribute(java.lang.String attribute)
Constructs a new UpdateAttribute command.

Parameters:
attribute - the attribute name
Method Detail

getAttribute

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

Returns:
the attribute name

getName

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

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