public class RuleDescr extends AnnotatedBaseDescr implements org.drools.core.rule.Dialectable
Constructor and Description |
---|
RuleDescr() |
RuleDescr(String name) |
RuleDescr(String ruleName,
String documentation) |
addAnnotation, addAnnotation, addAnnotation, addQualifiedAnnotation, getAnnotation, getAnnotation, getAnnotationNames, getAnnotations, getTypedAnnotation, hasAnnotation, indexByFQN
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText
public RuleDescr()
public RuleDescr(String name)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AnnotatedBaseDescr
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AnnotatedBaseDescr
IOException
public String getName()
public void setName(String name)
public String getDialect()
getDialect
in interface org.drools.core.rule.Dialectable
public String getSalience()
public String getClassName()
public void setClassName(String className)
public String getDocumentation()
public Map<String,AttributeDescr> getAttributes()
public void addAttribute(AttributeDescr attribute)
public AndDescr getLhs()
public void setLhs(AndDescr lhs)
public Object getConsequence()
public void setConsequence(Object consequence)
public void setConsequenceLocation(int line, int pattern)
public void setConsequenceOffset(int offset)
public int getConsequenceOffset()
public int getConsequenceLine()
public int getConsequencePattern()
public String getEnabled()
public boolean hasParent()
public void setParentName(String parentName)
public String getParentName()
public boolean isRule()
public boolean isQuery()
public boolean hasErrors()
public int getLoadOrder()
public void setLoadOrder(int loadOrder)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.