Package org.kie.api.definition.process

## Interface Connection

-     public interface Connection

  A connection is a link from one Node to another.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Node` | `getFrom()` | The Node the connection starts from.
    `String` | `getFromType()` | The type of exit point of the from Node.
    `Map<String,​Object>` | `getMetaData()` | Meta data associated with this connection.
    `Node` | `getTo()` | The Node the connection goes to.
    `String` | `getToType()` | The type of entry point of the to Node.

- - ### Method Detail

    - #### getFrom

          Node getFrom()

      The Node the connection starts from.

    - #### getTo

          Node getTo()

      The Node the connection goes to.

    - #### getFromType

          String getFromType()

      The type of exit point of the from Node. Defaults to "DROOLS_DEFAULT".

    - #### getToType

          String getToType()

      The type of entry point of the to Node. Defaults to "DROOLS_DEFAULT".

    - #### getMetaData

          Map<String,​Object> getMetaData()

      Meta data associated with this connection.