public abstract class AbstractMRuleSession extends Object implements IMRulesObject, javax.rules.RuleSession
Constructor and Description |
---|
AbstractMRuleSession(IMRuleExecutionSet executionSet,
Map<String,String> parameters) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
check() |
AbstractMRuleSession |
clone() |
(package private) List<?> |
executeInternal(Collection<?> ins,
javax.rules.ObjectFilter filter)
Real entry point.
|
String |
getDebugInfo()
Retrieves some debug information of the current instance.
|
String |
getDescription()
Retrieves the description of the current instance.
|
(package private) IMRuleExecutionSet |
getExecutionSet() |
String |
getName()
Retrieves the name of the current instance.
|
MRuleExecutionSetMetadata |
getRuleExecutionSetMetadata() |
boolean |
isReleased() |
void |
release() |
void |
setDebugInfo(String debugInfo)
Sets some debug information of the current instance.
|
void |
setDescription(String description)
Sets the description of the current instance.
|
void |
setName(String name)
Sets the name of the current instance.
|
AbstractMRuleSession(IMRuleExecutionSet executionSet, Map<String,String> parameters)
public MRuleExecutionSetMetadata getRuleExecutionSetMetadata() throws MInvalidRuleSessionException
getRuleExecutionSetMetadata
in interface javax.rules.RuleSession
MInvalidRuleSessionException
public boolean isReleased()
public void release() throws MInvalidRuleSessionException
release
in interface javax.rules.RuleSession
MInvalidRuleSessionException
public String getName()
IMRulesObject
getName
in interface IMRulesObject
public void setName(String name)
IMRulesObject
setName
in interface IMRulesObject
public String getDescription()
IMRulesObject
getDescription
in interface IMRulesObject
public void setDescription(String description)
IMRulesObject
setDescription
in interface IMRulesObject
public String getDebugInfo()
IMRulesObject
getDebugInfo
in interface IMRulesObject
public void setDebugInfo(String debugInfo)
IMRulesObject
setDebugInfo
in interface IMRulesObject
IMRuleExecutionSet getExecutionSet()
public AbstractMRuleSession clone()
clone
in interface IMRulesObject
clone
in class Object
void check() throws MInvalidRuleSessionException
MInvalidRuleSessionException
List<?> executeInternal(Collection<?> ins, javax.rules.ObjectFilter filter) throws MInvalidRuleSessionException
MInvalidRuleSessionException