org.drools.runtime.rule.impl
Class SerializedRule
java.lang.Object
org.drools.runtime.rule.impl.SerializedRule
- All Implemented Interfaces:
- Externalizable, Serializable, org.drools.definition.KnowledgeDefinition, org.drools.definition.rule.Rule
public class SerializedRule
- extends Object
- implements org.drools.definition.rule.Rule, Externalizable
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface org.drools.definition.KnowledgeDefinition |
org.drools.definition.KnowledgeDefinition.KnowledgeType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedRule
public SerializedRule()
SerializedRule
public SerializedRule(org.drools.definition.rule.Rule rule)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
getName
public String getName()
- Specified by:
getName
in interface org.drools.definition.rule.Rule
getPackageName
public String getPackageName()
- Specified by:
getPackageName
in interface org.drools.definition.rule.Rule
getMetaAttribute
@Deprecated
public String getMetaAttribute(String identifier)
- Deprecated.
- Specified by:
getMetaAttribute
in interface org.drools.definition.rule.Rule
listMetaAttributes
@Deprecated
public Collection<String> listMetaAttributes()
- Deprecated.
- Specified by:
listMetaAttributes
in interface org.drools.definition.rule.Rule
getMetaAttributes
@Deprecated
public Map<String,Object> getMetaAttributes()
- Deprecated.
- Specified by:
getMetaAttributes
in interface org.drools.definition.rule.Rule
getMetaData
public Map<String,Object> getMetaData()
- Specified by:
getMetaData
in interface org.drools.definition.rule.Rule
getKnowledgeType
public org.drools.definition.KnowledgeDefinition.KnowledgeType getKnowledgeType()
- Specified by:
getKnowledgeType
in interface org.drools.definition.KnowledgeDefinition
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interface org.drools.definition.KnowledgeDefinition
getId
public String getId()
- Specified by:
getId
in interface org.drools.definition.KnowledgeDefinition
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.