com.h3c.of.sw

## Class CmdDirective

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

-     public class CmdDirective
      extends ScenarioCommand

  Concrete class for a scenario directive. These are commands that have no parameters.

- - ### Field Summary

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

      `E_INV_PARAMS, error, params, type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CmdDirective(CommandType type)` Constructs the directive.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `toString()`

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

      `create, getType, validate`

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

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

- - ### Constructor Detail

    - #### CmdDirective

          public CmdDirective(CommandType type)

      Constructs the directive.
      Parameters:
        `type` - the command type

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `ScenarioCommand`

Copyright © 2014. All Rights Reserved.