com.h3c.of.ctl.pipeline

## Interface MutablePipelineDefinition

- All Superinterfaces:
    MutableObject, MutableType<PipelineDefinition>

      public interface MutablePipelineDefinition
      extends MutableType<PipelineDefinition>, MutableObject

  Mutable variant of `PipelineDefinition`. Provides `TableContext` and state modification capability to the definition.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MutablePipelineDefinition` | `addTableContext(TableContext tc)` Adds the given table context to the context list.
    `MutablePipelineDefinition` | `removeTableContext(TableContext tc)` Removes the given table context from the context list.

    - ### Methods inherited from interface com.h3c.of.ctl.pipeline.MutableType

      `toImmutable`

    - ### Methods inherited from interface com.h3c.of.lib.MutableObject

      `writable`

- - ### Method Detail

    - #### addTableContext

          MutablePipelineDefinition addTableContext(TableContext tc)

      Adds the given table context to the context list.
      Parameters:
        `tc` - the table context
      Returns:
        self, for chaining
      Throws:
        `NullPointerException` - if tc is null

    - #### removeTableContext

          MutablePipelineDefinition removeTableContext(TableContext tc)

      Removes the given table context from the context list.
      Parameters:
        `tc` - the table context
      Returns:
        self, for chaining
      Throws:
        `NullPointerException` - if tc is null

Copyright © 2014. All Rights Reserved.