org.drools.definition
Interface KnowledgePackage


public interface KnowledgePackage

This provides a collection of knowledge definitions that can be given to a KnowledgeBase. The name is used to provide "namespace" separation of those definitions.


Method Summary
 String getName()
          The namespace for this package
 Collection<Process> getProcesses()
          Return the process definitions for this package.
 Collection<Rule> getRules()
          Return the rule definitions for this package.
 

Method Detail

getName

String getName()
The namespace for this package

Returns:

getRules

Collection<Rule> getRules()
Return the rule definitions for this package. The collection is immutable.

Returns:

getProcesses

Collection<Process> getProcesses()
Return the process definitions for this package. The collection is immutable.

Returns:
a Collection of Processes for this package.


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