org.drools.verifier.components
Class SubRule
java.lang.Object
org.drools.verifier.data.VerifierComponent
org.drools.verifier.components.PackageComponent
org.drools.verifier.components.RuleComponent
org.drools.verifier.components.SubRule
- All Implemented Interfaces:
- Serializable, Comparable<VerifierComponent>, ChildComponent, Possibility, Cause
public class SubRule
- extends RuleComponent
- implements Serializable, Possibility
Instance of this class represents a possible combination of
PatternPosibilities under one Rule. Each possibility returns true if all the
PatternPosibilities in the combination are true.
- See Also:
- Serialized Form
Methods inherited from interface org.drools.verifier.report.components.Cause |
getCauses |
SubRule
public SubRule(VerifierRule rule,
int orderNumber)
getPath
public String getPath()
- Overrides:
getPath
in class RuleComponent
getItems
public Set<RuleComponent> getItems()
- Specified by:
getItems
in interface Possibility
getAmountOfItems
public int getAmountOfItems()
- Specified by:
getAmountOfItems
in interface Possibility
add
public void add(RuleComponent ruleComponent)
getRule
public VerifierRule getRule()
getConsequencePath
public String getConsequencePath()
getConsequenceType
public Consequence.ConsequenceType getConsequenceType()
getAttributes
public Map<String,String> getAttributes()
toString
public String toString()
- Overrides:
toString
in class VerifierComponent
getVerifierComponentType
public VerifierComponentType getVerifierComponentType()
- Specified by:
getVerifierComponentType
in class VerifierComponent
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.