com.h3c.of.sw

## Class CmdSwitchVerb

- java.lang.Object
- - com.h3c.of.sw.ScenarioCommand
  - - com.h3c.of.sw.CmdSwitchVerb

-     public class CmdSwitchVerb
      extends ScenarioCommand

  Concrete class for a switch specific command.

- - ### Field Summary

    - ### Fields inherited from class com.h3c.of.sw.ScenarioCommand

      `E_INV_PARAMS, error, params, type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CmdSwitchVerb(CommandType type, String params)` Constructs the switch-verb command.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getVar()` Returns the variable name assigned to this switch.

    - ### Methods inherited from class com.h3c.of.sw.ScenarioCommand

      `create, getType, toString, validate`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CmdSwitchVerb

          public CmdSwitchVerb(CommandType type,
                       String params)

      Constructs the switch-verb command.
      Parameters:
        `type` - the command type
        `params` - the parameters

  - ### Method Detail

    - #### getVar

          public String getVar()

      Returns the variable name assigned to this switch.
      Returns:
        the variable name

Copyright © 2014. All Rights Reserved.