org.drools.verifier.report.components
Class AlwaysTrue

java.lang.Object
  extended by org.drools.verifier.report.components.AlwaysTrue
All Implemented Interfaces:
Cause, Reason

public class AlwaysTrue
extends Object
implements Reason, Cause

Pattern, rule or similar that is always satisfied.


Constructor Summary
AlwaysTrue(Cause cause, Cause... causes)
           
AlwaysTrue(Cause cause, Collection<Cause> causes)
           
 
Method Summary
 Cause getCause()
           
 Collection<Cause> getCauses()
           
 String getPath()
           
 ReasonType getReasonType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysTrue

public AlwaysTrue(Cause cause,
                  Collection<Cause> causes)
Parameters:
cause - Component that is always satisfied.

AlwaysTrue

public AlwaysTrue(Cause cause,
                  Cause... causes)
Method Detail

getReasonType

public ReasonType getReasonType()
Specified by:
getReasonType in interface Reason

getPath

public String getPath()

getCause

public Cause getCause()

getCauses

public Collection<Cause> getCauses()
Specified by:
getCauses in interface Cause
Specified by:
getCauses in interface Reason


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.