org.drools.verifier.report.components
Class Incompatibility
java.lang.Object
org.drools.verifier.report.components.Incompatibility
- All Implemented Interfaces:
- Cause
- Direct Known Subclasses:
- Opposites
public class Incompatibility
- extends Object
- implements Cause
Object type that indicates an incompatibility between two objects.
Incompatibility happens when there is no value that would satisfy both objects.
Example:
A: x > 10
B: x == 100
Incompatibility
public Incompatibility(Cause left,
Cause right)
getLeft
public Cause getLeft()
getRight
public Cause getRight()
toString
public String toString()
- Overrides:
toString
in class Object
getCauses
public Collection<Cause> getCauses()
- Specified by:
getCauses
in interface Cause
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.