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

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

public class Navigate
extends Command

A class that represents a VHI Navigate command.

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

Constructor Summary
Navigate(java.lang.String entity)
          Constructs a new Navigate command.
 
Method Summary
 java.lang.String getEntity()
          Gets the name of the destination entity.
 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

Navigate

public Navigate(java.lang.String entity)
Constructs a new Navigate command.

Parameters:
entity - the entity name
Method Detail

getEntity

public java.lang.String getEntity()
Gets the name of the destination entity.

Returns:
the entity name

getName

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

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