org.drools.definition.process
Interface Connection


public interface Connection

A connection is a link from one Node to another.


Method Summary
 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.
 Object getMetaData(String name)
          Deprecated. 
 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.


getMetaData

@Deprecated
Object getMetaData(String name)
Deprecated. 

Meta data associated with this connection.



Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.