public interface IlrRFEnvironment
IlrRFEnvironment to provide environment dependent data to
the services around an IlrRFModel instance.
A concrete instance must be provided by the specific environment where a ruleflow is used:
RuleStudio or Rule Team Server, etc.
NOTE: This interface is provided for documentation purposes, but is not intended to be implemented directly.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName(java.lang.String key)
Returns a localized string for the given key.
|
java.lang.String |
getFQNFromUUID(java.lang.String uuid)
Returns the fully qualified name for the element referenced by a
specific UUID.
|
java.lang.String |
getLabelFromUUID(java.lang.String uuid)
Returns a human readable label for the element referenced by the
specified UUID.
|
java.lang.Object |
getLock()
Returns the lock object for this environment.
|
java.util.logging.Logger |
getLogger()
Returns the logger object for this environment.
|
ilog.rules.brl.parsing.IlrBRLEarleyParser |
getParser(IlrRFBodyKind kind,
java.util.Locale locale)
Returns the parser for a specific body kind and locale.
|
IlrRFModel |
getRFModelFromUUID(java.lang.String ruleflowUUID)
Retrieves an instance of
IlrRFModel using an UUID. |
IlrBRLVariableProvider |
getVariableProvider(IlrRFBodyKind kind,
java.util.Locale locale)
Returns the variable provider associated with this environment for
a specific body kind and locale.
|
IlrVocabulary |
getVocabulary(java.util.Locale locale)
Returns the vocabulary for a specific locale.
|
boolean |
isValidScopeReference(java.lang.String uuid)
Checks if a reference can be found in the environment.
|
IlrVocabulary getVocabulary(java.util.Locale locale)
locale - The locale.locale. This method
never returns null.java.lang.Object getLock()
null, the parser is used as the lock.java.util.logging.Logger getLogger()
IlrBRLVariableProvider getVariableProvider(IlrRFBodyKind kind, java.util.Locale locale)
kind - The body kind.locale - The locale.ilog.rules.brl.parsing.IlrBRLEarleyParser getParser(IlrRFBodyKind kind, java.util.Locale locale)
kind - The body kind.locale - The locale.java.lang.String getLabelFromUUID(java.lang.String uuid)
uuid - The UUID.java.lang.String getFQNFromUUID(java.lang.String uuid)
uuid - The UUID.IlrRFModel getRFModelFromUUID(java.lang.String ruleflowUUID)
IlrRFModel using an UUID.
This method is used to resolve the reference of a subflow task.ruleflowUUID - The UUIF stored in the "uuid" property of
IlrRFSubflowTask.IlrRFModel corresponding to
ruleflowUUID or null.java.lang.String getDisplayName(java.lang.String key)
key - The message key.key is returned as the display name.boolean isValidScopeReference(java.lang.String uuid)
uuid - The reference to check.true is returned.© Copyright IBM Corp. 1987, 2017