Package org.kie.api.definition.process

# Interface Connection

All Superinterfaces:
  `WorkflowElement`

public interface Connection extends WorkflowElement
A connection is a link from one Node to another.

- ## Method Summary

  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.

  ### Methods inherited from interface org.kie.api.definition.process.WorkflowElement

  `getId, getUniqueId`

- ## Method Details

  - ### 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.