Groovy Documentation

org.grules.config
[Groovy] Class GrulesConfig

java.lang.Object
  org.grules.config.Config
      org.grules.config.GrulesConfig

class GrulesConfig
extends Config

Grules configuration parameters.


Property Summary
static java.lang.String DEFAULT_FUNCTIONS_PARAMETER_NAME

static java.lang.String DEFAULT_GROUP_PARAMETER_NAME

static java.lang.String ENABLE_MULTITHREADING_PARAMETER_NAME

static java.lang.String GROUPS_PARAMETER_NAME

static java.lang.String LOGGER_HANDLER_PARAMETER_NAME

static java.lang.String LOG_LEVEL_PARAMETER_NAME

static java.lang.String NOT_VALIDATED_PARAMETERS_ACTION_PARAMETER_NAME

static java.lang.String RESOURCE_BUNDLE_PARAMETER_NAME

 
Constructor Summary
GrulesConfig(java.util.Map properties)

 
Method Summary
java.util.List getDefaultFunctions()

Sequence of converters that must be applied to all parameters.

java.lang.String getDefaultGroup()

Group to use when no group is specified.

java.util.Set getGroups()

Set of available groups.

java.util.logging.Level getLogLevel()

Level of logging used by the rule engine.

java.util.logging.Handler getLoggerHandler()

Logger handler used by the rule engine.

OnValidationEventAction getNotValidatedParametersAction()

Action performed when there is no defined rule for some input parameter.

protected java.util.Map getParameters()

{@inheritDoc}

java.lang.String getResourceBundlePath()

Resource bundle for error messages.

java.lang.Boolean isMultithreadingEnabled()

Checks whether scripts should be evaluated in multi-threaded environment.

 
Methods inherited from class Config
getParameters, toString
 

Property Detail

DEFAULT_FUNCTIONS_PARAMETER_NAME

static final java.lang.String DEFAULT_FUNCTIONS_PARAMETER_NAME


DEFAULT_GROUP_PARAMETER_NAME

static final java.lang.String DEFAULT_GROUP_PARAMETER_NAME


ENABLE_MULTITHREADING_PARAMETER_NAME

static final java.lang.String ENABLE_MULTITHREADING_PARAMETER_NAME


GROUPS_PARAMETER_NAME

static final java.lang.String GROUPS_PARAMETER_NAME


LOGGER_HANDLER_PARAMETER_NAME

static final java.lang.String LOGGER_HANDLER_PARAMETER_NAME


LOG_LEVEL_PARAMETER_NAME

static final java.lang.String LOG_LEVEL_PARAMETER_NAME


NOT_VALIDATED_PARAMETERS_ACTION_PARAMETER_NAME

static final java.lang.String NOT_VALIDATED_PARAMETERS_ACTION_PARAMETER_NAME


RESOURCE_BUNDLE_PARAMETER_NAME

static final java.lang.String RESOURCE_BUNDLE_PARAMETER_NAME


 
Constructor Detail

GrulesConfig

GrulesConfig(java.util.Map properties)


 
Method Detail

getDefaultFunctions

java.util.List getDefaultFunctions()
Sequence of converters that must be applied to all parameters.


getDefaultGroup

java.lang.String getDefaultGroup()
Group to use when no group is specified.


getGroups

java.util.Set getGroups()
Set of available groups.


getLogLevel

java.util.logging.Level getLogLevel()
Level of logging used by the rule engine.


getLoggerHandler

java.util.logging.Handler getLoggerHandler()
Logger handler used by the rule engine.


getNotValidatedParametersAction

OnValidationEventAction getNotValidatedParametersAction()
Action performed when there is no defined rule for some input parameter.


getParameters

@Override
protected java.util.Map getParameters()
{@inheritDoc}


getResourceBundlePath

java.lang.String getResourceBundlePath()
Resource bundle for error messages.


isMultithreadingEnabled

java.lang.Boolean isMultithreadingEnabled()
Checks whether scripts should be evaluated in multi-threaded environment.


 

Groovy Documentation