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.
    `java.lang.String` | `getFromType()` | The type of exit point of the from Node.
    `java.util.Map<java.lang.String,​java.lang.Object>` | `getMetaData()` | Meta data associated with this connection.
    `Node` | `getTo()` | The Node the connection goes to.
    `java.lang.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

          java.lang.String getFromType()

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

    - #### getToType

          java.lang.String getToType()

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

    - #### getMetaData

          java.util.Map<java.lang.String,​java.lang.Object> getMetaData()

      Meta data associated with this connection.