public interface RuleIF extends ExecutableIF
ImplementationIF
,
ExecutableIF
Modifier and Type | Method and Description |
---|---|
void |
executePostMethods()
Execute post methods.
|
void |
executePreMethods()
Execute pre methods.
|
java.lang.String |
getId()
Get the id of the rule.
|
java.lang.String |
getPointTo()
Get the reference string of the rule.
|
java.lang.String |
getSessionRef()
Get the reference to the session.
|
java.lang.String |
getType()
Get a type identifier for the rule.
|
NameValueUnit[][] |
getValue()
Get the named value from rule.
|
boolean |
isPedantic()
Get the gather mode.
|
void |
setGathermode(java.lang.String mode)
Set the gather mode.
|
void |
setId(java.lang.String id)
Set the id of the rule.
|
void |
setPointTo(java.lang.String pointTo)
Set the reference string of the rule.
|
void |
setPostMethods(ExecutableIF[] arr)
Set an rray of implementations that must be executed after rule is executed.
|
void |
setPreMethods(ExecutableIF[] arr)
Set an rray of implementations that must be executed before rule is executed.
|
void |
setSessionRef(java.lang.String sessionRef)
Set the reference to the session.
|
void |
setType(java.lang.String type)
Set a type identifier for the rule.
|
void |
setValue(NameValueUnit[][] nvu)
Set the named values to rule.
|
execute, terminate
getContext, getDescriptor, init, setArguments, setContext, setDescriptor
void setId(java.lang.String id)
java.lang.String getId()
void setPointTo(java.lang.String pointTo)
java.lang.String getPointTo()
void setGathermode(java.lang.String mode)
mode
- the gather mode string.boolean isPedantic()
void setValue(NameValueUnit[][] nvu) throws RuleException
nvu
- The name value of the rule.RuleException
NameValueUnit[][] getValue() throws RuleException
RuleException
setValue(NameValueUnit[][] nvu)
void setPreMethods(ExecutableIF[] arr)
arr
- the array of pre methods.void setPostMethods(ExecutableIF[] arr)
arr
- the array of post methods.void executePreMethods() throws ExecutableException
ExecutableException
executePostMethods()
void executePostMethods() throws ExecutableException
ExecutableException
executePreMethods()
void setSessionRef(java.lang.String sessionRef)
java.lang.String getSessionRef()
void setType(java.lang.String type)
type
- the type of the rule.java.lang.String getType()