Package org.drools.model.impl
Class RuleImpl
java.lang.Object
org.drools.model.impl.RuleImpl
- All Implemented Interfaces:
ModelComponent,NamedModelItem,Rule
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.drools.model.Rule
Rule.Attribute<T> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRuleImpl(String pkg, String name, String unit, CompositePatterns view) RuleImpl(String pkg, String name, String unit, CompositePatterns view, Map<Rule.Attribute, Object> attributes, Map<String, Object> metaAttributes) RuleImpl(String pkg, String name, String unit, View view, Consequence consequence, Map<Rule.Attribute, Object> attributes, Map<String, Object> metaAttributes) -
Method Summary
Modifier and TypeMethodDescription<T> TgetAttribute(Rule.Attribute<T> attribute) getMetaData(String name) getName()getUnit()getView()booleantoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.drools.model.NamedModelItem
getFullName
-
Field Details
-
DEFAULT_CONSEQUENCE_NAME
- See Also:
-
-
Constructor Details
-
RuleImpl
-
RuleImpl
-
RuleImpl
public RuleImpl(String pkg, String name, String unit, CompositePatterns view, Map<Rule.Attribute, Object> attributes, Map<String, Object> metaAttributes)
-
-
Method Details
-
getView
-
getDefaultConsequence
- Specified by:
getDefaultConsequencein interfaceRule
-
getConsequences
- Specified by:
getConsequencesin interfaceRule
-
getAttribute
- Specified by:
getAttributein interfaceRule
-
getMetaData
- Specified by:
getMetaDatain interfaceRule
-
getMetaData
- Specified by:
getMetaDatain interfaceRule
-
getName
- Specified by:
getNamein interfaceNamedModelItem
-
getPackage
- Specified by:
getPackagein interfaceNamedModelItem
-
getUnit
-
isEqualTo
- Specified by:
isEqualToin interfaceModelComponent
-
toString
-