Package org.drools.model.consequences
Class NamedConsequenceImpl
- java.lang.Object
-
- org.drools.model.consequences.NamedConsequenceImpl
-
- All Implemented Interfaces:
Condition,ModelComponent
public class NamedConsequenceImpl extends Object implements Condition, ModelComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.model.Condition
Condition.Type
-
-
Constructor Summary
Constructors Constructor Description NamedConsequenceImpl(String name, boolean breaking)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Variable<?>[]getBoundVariables()StringgetName()Condition.TypegetType()booleanisBreaking()booleanisEqualTo(ModelComponent o)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drools.model.Condition
cloneCondition, getSubConditions
-
-
-
-
Constructor Detail
-
NamedConsequenceImpl
public NamedConsequenceImpl(String name, boolean breaking)
-
-
Method Detail
-
getName
public String getName()
-
isBreaking
public boolean isBreaking()
-
getType
public Condition.Type getType()
-
getBoundVariables
public Variable<?>[] getBoundVariables()
- Specified by:
getBoundVariablesin interfaceCondition
-
isEqualTo
public boolean isEqualTo(ModelComponent o)
- Specified by:
isEqualToin interfaceModelComponent
-
-