org.jboss.soa.esb.services.rules
Interface RuleInfo

All Known Subinterfaces:
StatefulRuleInfo

public interface RuleInfo

RuleInfoImpl contains rule execution configuration parameters that are passed to the RuleService.

Since:
4.6
Author:
Daniel Bevenius

Method Summary
 java.util.List<java.lang.Object> getDefaultFacts()
          Facts that will be inserted into the working memory.
 java.lang.String getDslSource()
          The Domain Specific Language (dsl) for the the rules source.
 java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getFacts()
          Facts that will be inserted into working memory.
 java.util.Map<java.lang.String,java.lang.Object> getGlobals()
          Global that will be inserted into the working memory (as globals).
 boolean getReload()
          Determines if the rules should be reloaded upon execution.
 java.lang.String getRuleSource()
          Source of the Rules.
 java.lang.String getRuleType()
          The type of rule
 

Method Detail

getRuleSource

java.lang.String getRuleSource()
Source of the Rules.

Returns:
String The rule source.

getRuleType

java.lang.String getRuleType()
The type of rule

Returns:
String The type of rule.

getDslSource

java.lang.String getDslSource()
The Domain Specific Language (dsl) for the the rules source.

Returns:
String The dsl source.

getReload

boolean getReload()
Determines if the rules should be reloaded upon execution.

Returns:
boolean True if rules should be reloaded.

getDefaultFacts

java.util.List<java.lang.Object> getDefaultFacts()
Facts that will be inserted into the working memory.

Returns:
List<Object> List of Object that will be inserted as facts in the working memory.

getGlobals

java.util.Map<java.lang.String,java.lang.Object> getGlobals()
Global that will be inserted into the working memory (as globals).

Returns:
<Map<String, Object> Map of objects that will be inserted as globals in the working memory.

getFacts

java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getFacts()
Facts that will be inserted into working memory. These fact are indexed by a name which can be used to support concepts as Entry Points.

Returns:
<Map<String, List<Object>> Map of lists that will be inserted as facts in the working memory, separated by the name. Used to support concepts like Entry Points.