Package oracle.rules.jsr94.admin
Class Sdk2FileRepositorySource
java.lang.Object
oracle.rules.jsr94.admin.Sdk2FileRepositorySource
- All Implemented Interfaces:
Serializable,RuleSource
A
RuleSource that specifies rule sets defined in an Oracle
Business Rules SDK2 Jar file based repository.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSdk2FileRepositorySource(String location, String pkg, String name, String[] rulesets) Create aSDK2FileRepositorySource.Sdk2FileRepositorySource(String location, DictionaryFQN fqn, String[] rulesets) Create aSDK2FileRepositorySource. -
Method Summary
-
Constructor Details
-
Sdk2FileRepositorySource
Create aSDK2FileRepositorySource.- Parameters:
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.
-
Sdk2FileRepositorySource
Create aSDK2FileRepositorySource.- Parameters:
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.
-
-
Method Details
-
getLocation
Get the location of the repository.- Returns:
- The location of the repository.
-
getDictionaryFQN
Get the fully qualified name of the dictionary in the repository.- Returns:
- The fully qualified name of the dictionary in the repository.
-
getRulesets
Get the names of the rule sets to load from the dictionary.- Returns:
- The names of the rule sets to load from the dictionary.
-
getRules
Get an object that provides access to the rule sets. This is intended for internal use by the implementation.- Specified by:
getRulesin interfaceRuleSource- Returns:
- An object that provides access to the rule sets.
- Throws:
javax.rules.admin.RuleAdministrationException- if there is an error gaining access
-