Package org.drools.template.model
Class AttributedDRLElement
- java.lang.Object
-
- org.drools.template.model.DRLElement
-
- org.drools.template.model.AttributedDRLElement
-
public abstract class AttributedDRLElement extends DRLElement
Intermediary class, extending DRLElement with the capability of storing attributes, as required for rules and the package itself.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttributedDRLElement()
protected
AttributedDRLElement(Integer salience)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
asStringLiteral(String value)
protected String
asTimerLiteral(String value)
String
getAttribute(String name)
String
getSalience()
protected void
renderDRL(DRLOutput out)
void
setActivationGroup(String value)
void
setAgendaGroup(String value)
void
setAutoFocus(boolean value)
void
setCalendars(String value)
void
setDateEffective(String value)
void
setDateExpires(String value)
void
setDuration(Long value)
void
setEnabled(boolean value)
void
setLockOnActive(boolean value)
void
setNoLoop(boolean value)
void
setRuleFlowGroup(String value)
void
setSalience(Integer value)
void
setSalience(String value)
void
setTimer(String value)
-
Methods inherited from class org.drools.template.model.DRLElement
setComment
-
-
-
-
Constructor Detail
-
AttributedDRLElement
protected AttributedDRLElement()
-
AttributedDRLElement
protected AttributedDRLElement(Integer salience)
-
-
Method Detail
-
renderDRL
protected void renderDRL(DRLOutput out)
-
setSalience
public void setSalience(Integer value)
-
setSalience
public void setSalience(String value)
-
setDuration
public void setDuration(Long value)
-
setTimer
public void setTimer(String value)
-
setEnabled
public void setEnabled(boolean value)
-
setCalendars
public void setCalendars(String value)
-
setActivationGroup
public void setActivationGroup(String value)
-
setRuleFlowGroup
public void setRuleFlowGroup(String value)
-
setAgendaGroup
public void setAgendaGroup(String value)
-
setNoLoop
public void setNoLoop(boolean value)
-
setLockOnActive
public void setLockOnActive(boolean value)
-
setAutoFocus
public void setAutoFocus(boolean value)
-
setDateEffective
public void setDateEffective(String value)
-
setDateExpires
public void setDateExpires(String value)
-
getSalience
public String getSalience()
-
-