public class DefaultHookConfig extends java.lang.Object implements HookConfig
Modifier and Type | Field and Description |
---|---|
protected ConfigureInterface |
config |
Constructor and Description |
---|
DefaultHookConfig(ConfigureInterface config) |
Modifier and Type | Method and Description |
---|---|
static void |
check(ConfigureInterface config)
Set the configuration settings to System-Properties and probably to Processor.
If the System-Properties does NOT contain the 'property', then get the value from the ConfigureInterface and set it to System-Properties; Otherwise, keep the value in the System-Properties (don't override it by the value from ConfigureInterface). Finally these configuration settings may also be kept in the Processor so that the concrete Processor will be able to use it easily. |
void |
checkConfiguration()
Check the ConfigureInterface to get the settings and set them to 'system properties' if they don't exist in 'system properties'.
But if the 'system properties' contains a setting, then we will use it without checking it from ConfigureInterface. Then, at hook side we can refer to these settings from 'system properties' at any time. |
protected ConfigureInterface config
public DefaultHookConfig(ConfigureInterface config)
public void checkConfiguration()
checkConfiguration
in interface HookConfig
public static void check(ConfigureInterface config)
Copyright © SAS Institute. All Rights Reserved.