org.drools.tags.rule
Interface ConsequenceReceptor

All Known Implementing Classes:
ConsequenceTag

public interface ConsequenceReceptor

Object that can receive a configured Consequence.

Version:
$Id: ConsequenceReceptor.java,v 1.1 2002/09/27 20:55:32 bob Exp $
Author:
bob mcwhirter

Method Summary
 Declaration[] getAvailableDeclarations()
          Retrieve the array of available Declarations.
 void receiveConsequence(Consequence consequence)
          Receive an Consequence.
 

Method Detail

receiveConsequence

public void receiveConsequence(Consequence consequence)
Receive an Consequence.

Parameters:
consequence - The consequence.

getAvailableDeclarations

public Declaration[] getAvailableDeclarations()
                                       throws org.apache.commons.jelly.JellyException
Retrieve the array of available Declarations.

Returns:
The array of declarations.
Throws:
org.apache.commons.jelly.JellyException - If no declarations are currently available in scope.


Copyright © 2001-2003 The Werken Company. All Rights Reserved.