org.jboss.reliance.drools.core.aspects
Class FireAllRulesFlag

java.lang.Object
  extended by org.jboss.reliance.drools.core.aspects.FireAllRulesFlag

public class FireAllRulesFlag
extends Object

Simple thread local flag.

Author:
Ales Justin

Constructor Summary
FireAllRulesFlag()
           
 
Method Summary
static void disableFileAllRules()
          Disable flag.
static void enableFileAllRules()
          Enable flag.
static boolean shouldFileAllRules()
          Check if flag doesn't exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FireAllRulesFlag

public FireAllRulesFlag()
Method Detail

shouldFileAllRules

public static boolean shouldFileAllRules()
Check if flag doesn't exists.

Returns:
true if flag exists

enableFileAllRules

public static void enableFileAllRules()
Enable flag.


disableFileAllRules

public static void disableFileAllRules()
Disable flag.



Copyright © 2008 JBoss Inc.. All Rights Reserved.