|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.ReconnectRuleConfigImpl
public class ReconnectRuleConfigImpl
This class implements reconnect rule configuration methods.
Field Summary | |
---|---|
static String |
ACTION_PARAM_NAME
Reconnect action parameter. |
static String |
EXCEPTION_CLASS_PARAM_NAME
Exception class parameter. |
static String |
REGULAR_EXPRESSION_PARAM_NAME
Regular expression for exception messages parameter. |
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
---|
NAME |
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
---|
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE |
Constructor Summary | |
---|---|
ReconnectRuleConfigImpl()
Create an empty reconnect rule configuration. |
|
ReconnectRuleConfigImpl(Object config)
Create a reconnect rule configuration from the specified raw configuration. |
Method Summary | |
---|---|
String |
getAction()
|
Object |
getClone()
|
String |
getExceptionClass()
|
String |
getExceptionMessageRegExp()
|
void |
validate()
Validate the contents of this reconnect rule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String EXCEPTION_CLASS_PARAM_NAME
public static final String REGULAR_EXPRESSION_PARAM_NAME
public static final String ACTION_PARAM_NAME
Constructor Detail |
---|
public ReconnectRuleConfigImpl()
public ReconnectRuleConfigImpl(Object config)
config
- Raw configuration.Method Detail |
---|
public String getAction()
getAction
in interface ReconnectRuleConfig
public String getExceptionClass()
getExceptionClass
in interface ReconnectRuleConfig
public String getExceptionMessageRegExp()
getExceptionMessageRegExp
in interface ReconnectRuleConfig
public void validate() throws Exception
validate
in interface ReconnectRuleConfig
Exception
- If the reconnect action is neither null, an empty string,
'error' nor 'reconnect'. If the class definition of the
exception class is not available to the JVM.public Object getClone() throws Exception
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |