Interface StrictGlobalSettings
-
- All Implemented Interfaces:
public interface StrictGlobalSettingsGlobal strict-mode settings. All global settings can be overridden by thread settings.
-
-
Method Summary
Modifier and Type Method Description abstract voidenable()Enable all checks. abstract voiddisable()Disable all checks. abstract voiddisable(MAMStrictCheck check)Disable a specific check. abstract voiddisable(EnumSet<MAMStrictCheck> checks)Disable a set of checks. abstract voidsetHandler(MAMStrictViolationHandler handler)Set the handler called when a check fails. -
-
Method Detail
-
enable
abstract void enable()
Enable all checks.
-
disable
abstract void disable()
Disable all checks. Note that this is the default if enable has not previously been called.
-
disable
abstract void disable(MAMStrictCheck check)
Disable a specific check.
- Parameters:
check- check to disable
-
disable
abstract void disable(EnumSet<MAMStrictCheck> checks)
Disable a set of checks.
- Parameters:
checks- checks to disable
-
setHandler
abstract void setHandler(MAMStrictViolationHandler handler)
Set the handler called when a check fails.
- Parameters:
handler- handler
-
-
-
-