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.lang.String getAuditFile()
          The file to audit to
 java.lang.Integer getAuditInterval()
          The interval of the audit
 java.lang.String getAuditType()
          The type of audit
 java.util.Map<java.lang.String,org.drools.runtime.Channel> getChannels()
          The channels (exit points)
 java.lang.String getClockType()
          The type of clock
 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.lang.String getEventProcessingType()
          The type of event processing
 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 getRuleFireMethod()
          The rule fire method
 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.

getAuditType

java.lang.String getAuditType()
The type of audit

Returns:
String The type of audit.

getAuditFile

java.lang.String getAuditFile()
The file to audit to

Returns:
String The file to audit to.

getAuditInterval

java.lang.Integer getAuditInterval()
The interval of the audit

Returns:
int The interval of the audit.

getClockType

java.lang.String getClockType()
The type of clock

Returns:
String The type of clock.

getEventProcessingType

java.lang.String getEventProcessingType()
The type of event processing

Returns:
String The type of event processing.

getChannels

java.util.Map<java.lang.String,org.drools.runtime.Channel> getChannels()
The channels (exit points)

Returns:
String The channels (exit points).

getRuleFireMethod

java.lang.String getRuleFireMethod()
The rule fire method

Returns:
String The rule fire method.

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.