public class Sdk2FileRepositorySource extends java.lang.Object implements RuleSource
RuleSource that specifies rule sets defined in an Oracle
Business Rules SDK2 Jar file based repository.| Constructor and Description |
|---|
Sdk2FileRepositorySource(java.lang.String location,
DictionaryFQN fqn,
java.lang.String[] rulesets)
Create a
SDK2FileRepositorySource. |
Sdk2FileRepositorySource(java.lang.String location,
java.lang.String pkg,
java.lang.String name,
java.lang.String[] rulesets)
Create a
SDK2FileRepositorySource. |
| Modifier and Type | Method and Description |
|---|---|
DictionaryFQN |
getDictionaryFQN()
Get the fully qualified name of the dictionary in the repository.
|
java.lang.String |
getLocation()
Get the location of the repository.
|
java.lang.Object |
getRules()
Get an object that provides access to the rule sets.
|
java.lang.String[] |
getRulesets()
Get the names of the rule sets to load from the dictionary.
|
public Sdk2FileRepositorySource(java.lang.String location,
java.lang.String pkg,
java.lang.String name,
java.lang.String[] rulesets)
SDK2FileRepositorySource.location - The path to the jar file that contains the
repository.pkg - The dictionary package.name - The name of the dictionary containing the rule
sets.rulesets - The names of the rule sets to load from the dictionary.public Sdk2FileRepositorySource(java.lang.String location,
DictionaryFQN fqn,
java.lang.String[] rulesets)
SDK2FileRepositorySource.location - The path to the jar file that contains the
repository.fqn - The fully qualified name of the dictionary.rulesets - The names of the rule sets to load from the dictionary.public java.lang.String getLocation()
public DictionaryFQN getDictionaryFQN()
public java.lang.String[] getRulesets()
public java.lang.Object getRules()
throws javax.rules.admin.RuleAdministrationException
getRules in interface RuleSourcejavax.rules.admin.RuleAdministrationException - if there is an error gaining access