|
Knowledge API Legacy5 Adapter 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.impl.adapters.RuleAdapter
public class RuleAdapter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.drools.definition.KnowledgeDefinition |
|---|
KnowledgeDefinition.KnowledgeType |
| Constructor Summary | |
|---|---|
RuleAdapter(org.kie.api.definition.rule.Rule delegate)
|
|
| Method Summary | |
|---|---|
static List<Rule> |
adaptRules(Collection<org.kie.api.definition.rule.Rule> rules)
|
String |
getId()
|
KnowledgeDefinition.KnowledgeType |
getKnowledgeType()
|
String |
getMetaAttribute(String key)
Returns the value of the meta attribute identified by the "key" |
Map<String,Object> |
getMetaAttributes()
Returns an immutable Map |
Map<String,Object> |
getMetaData()
Returns an immutable Map |
String |
getName()
Returns this rule's name. |
String |
getNamespace()
|
String |
getPackageName()
Returns the package name (namespace) this rule is tied to. |
Collection<String> |
listMetaAttributes()
This method is deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleAdapter(org.kie.api.definition.rule.Rule delegate)
| Method Detail |
|---|
public String getPackageName()
Rule
getPackageName in interface Rulepublic String getName()
Rule
getName in interface Rulepublic Map<String,Object> getMetaData()
Rule
getMetaData in interface Rulepublic Collection<String> listMetaAttributes()
RuleRule.getMetaAttributes() instead.
listMetaAttributes in interface Rulepublic Map<String,Object> getMetaAttributes()
Rule
getMetaAttributes in interface Rulepublic String getMetaAttribute(String key)
Rule
getMetaAttribute in interface Rulekey - the meta attribute key
public KnowledgeDefinition.KnowledgeType getKnowledgeType()
getKnowledgeType in interface KnowledgeDefinitionpublic String getNamespace()
getNamespace in interface KnowledgeDefinitionpublic String getId()
getId in interface KnowledgeDefinitionpublic static List<Rule> adaptRules(Collection<org.kie.api.definition.rule.Rule> rules)
|
Knowledge API Legacy5 Adapter 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||