|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.extension.rules.RuleType
public final class RuleType
A RuleType instance represents a kind of rule. Each RuleType must have a unique identifier, a reference to a MetaClass that provides the rule implementation, and a reference to the Extension that introduced the rule type.
The RuleType also contains information about what parameters are supported on this kind of rule (if any).
| Constructor Summary | |
|---|---|
RuleType(java.lang.String id, MetaClass<RuleFunction> implClass, Extension extension)Constructs a RuleType. |
|
| Method Summary | |
|---|---|
boolean |
addSupportedParameter(RuleTypeParameter parameter)Attempts to add a parameter to this rule-type definition, returns false if a parameter with the same name already existed. |
Extension |
getExtension() |
java.lang.String |
getId() |
RuleFunction |
getRuleFunction()Attempts to instantiate the RuleFunction class associated with this RuleType. |
java.util.Collection<RuleTypeParameter> |
getSupportedParameters() |
boolean |
hasRequiredParameters() |
boolean |
isParameterSupported(java.lang.String paramName) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleType(java.lang.String id,
MetaClass<RuleFunction> implClass,
Extension extension)
id -implClass -extension -| Method Detail |
|---|
public java.lang.String getId()
public Extension getExtension()
public RuleFunction getRuleFunction()
throws RuleEvaluationException
RuleEvaluationExceptionpublic boolean isParameterSupported(java.lang.String paramName)
public java.util.Collection<RuleTypeParameter> getSupportedParameters()
public boolean hasRequiredParameters()
public boolean addSupportedParameter(RuleTypeParameter parameter)
parameter -
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||