org.equanda.persistence
Class CheckRulesState
java.lang.Object
org.equanda.persistence.CheckRulesState
public final class CheckRulesState
- extends Object
Store the state whether declarative rules should be checked or not. This is stored in a ThreadLocal.
When this is false, checks are skipped.
This should only be used internally in the system to avoid double checks (and resulting slowness).
- Author:
- Joachim Van der Auwera
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RULES_CHECKS_STATE_CONTEXT
public static final String RULES_CHECKS_STATE_CONTEXT
- See Also:
- Constant Field Values
getCheckRules
public static boolean getCheckRules()
setCheckRules
public static void setCheckRules(boolean value)
Copyright © 2007-2009. All Rights Reserved.