Package org.drools.model.consequences
Class NamedConsequenceImpl
- java.lang.Object
-
- org.drools.model.consequences.NamedConsequenceImpl
-
- All Implemented Interfaces:
Condition,ModelComponent
public class NamedConsequenceImpl extends java.lang.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(java.lang.String name, boolean breaking)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Variable<?>[]getBoundVariables()java.lang.StringgetName()Condition.TypegetType()booleanisBreaking()booleanisEqualTo(ModelComponent o)java.lang.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
-
-
-
-
Method Detail
-
getName
public java.lang.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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-