com.ibm.di.config.xml
Class EventHandlerFactory
java.lang.Object
com.ibm.di.config.xml.Factories
com.ibm.di.config.xml.EventHandlerFactory
public class EventHandlerFactory
- extends Factories
Method Summary |
void |
build(BaseConfiguration config,
Element elem)
Generate XML element from configuration object |
void |
getAction(EventHandlerConfig ec,
Element elem)
|
void |
getActionItems(EventHandlerActionConfig ec,
Element elem,
int type)
|
void |
getActions(EventHandlerConfig ec,
Element elem)
|
void |
getAttributeMap(Element elem,
EventHandlerConfig config)
|
void |
getAttributeMaps(Element elem,
EventHandlerConfig config)
|
void |
getConditions(EventHandlerActionConfig ec,
Element elem)
|
void |
parse(BaseConfiguration config,
Element elem)
Parse the EventHandler element into an EventHandlerConfig |
void |
setAction(EventHandlerActionConfig item,
Element elem)
|
void |
setActionItems(Element elem,
Vector items,
String tag)
|
void |
setActions(EventHandlerConfig ec,
Element elem)
|
void |
setAttributeMaps(Element elem,
EventHandlerConfig cc)
|
void |
setConditions(Element elem,
Vector items)
|
Methods inherited from class com.ibm.di.config.xml.Factories |
debug, dump, getBaseName, getClassTag, getFactory, getImpl, getInheritsFrom, getNodeText, getNodeTextByName, getParameter, getParameters, getSingleElement, isDebugMode, logmsg, setBaseName, setInheritsFrom, setParameter, setParameters, setSingleElement, setSingleElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENTHANDLER_TAG
public static final String EVENTHANDLER_TAG
- See Also:
- Constant Field Values
ENABLED
public static final String ENABLED
- See Also:
- Constant Field Values
LOG_ENABLED
public static final String LOG_ENABLED
- See Also:
- Constant Field Values
PROLOG
public static final String PROLOG
- See Also:
- Constant Field Values
EPILOG
public static final String EPILOG
- See Also:
- Constant Field Values
SHUTDOWN
public static final String SHUTDOWN
- See Also:
- Constant Field Values
JAVA_CLASS
public static final String JAVA_CLASS
- See Also:
- Constant Field Values
SCRIPT
public static final String SCRIPT
- See Also:
- Constant Field Values
EH_CONFIG
public static final String EH_CONFIG
- See Also:
- Constant Field Values
SCRIPT_ENGINE
public static final String SCRIPT_ENGINE
- See Also:
- Constant Field Values
ACTION_MAPS_TAG
public static final String ACTION_MAPS_TAG
- See Also:
- Constant Field Values
ACTION_MAP_TAG
public static final String ACTION_MAP_TAG
- See Also:
- Constant Field Values
ACTION_MAP_TRUE
public static final String ACTION_MAP_TRUE
- See Also:
- Constant Field Values
ACTION_MAP_FALSE
public static final String ACTION_MAP_FALSE
- See Also:
- Constant Field Values
ACTION_MAP_ERROR
public static final String ACTION_MAP_ERROR
- See Also:
- Constant Field Values
ACTION_MAP_CONDITIONS
public static final String ACTION_MAP_CONDITIONS
- See Also:
- Constant Field Values
ACTION_MAP_ITEM_TAG
public static final String ACTION_MAP_ITEM_TAG
- See Also:
- Constant Field Values
ACTION_MAP_ITEM_COMMAND
public static final String ACTION_MAP_ITEM_COMMAND
- See Also:
- Constant Field Values
ACTION_MAP_NAME_TAG
public static final String ACTION_MAP_NAME_TAG
- See Also:
- Constant Field Values
ACTION_MAP_CONSUME_EVENT
public static final String ACTION_MAP_CONSUME_EVENT
- See Also:
- Constant Field Values
ACTION_MAP_ENABLE_ACTION
public static final String ACTION_MAP_ENABLE_ACTION
- See Also:
- Constant Field Values
ACTION_MAP_MATCH_ANY
public static final String ACTION_MAP_MATCH_ANY
- See Also:
- Constant Field Values
ACTION_MAP_DEBUG_BREAK
public static final String ACTION_MAP_DEBUG_BREAK
- See Also:
- Constant Field Values
CONDITION_TAG
public static final String CONDITION_TAG
- See Also:
- Constant Field Values
CONDITION_CASESENSITIVE
public static final String CONDITION_CASESENSITIVE
- See Also:
- Constant Field Values
CONDITION_NEGATE
public static final String CONDITION_NEGATE
- See Also:
- Constant Field Values
CONDITION_OPERATOR
public static final String CONDITION_OPERATOR
- See Also:
- Constant Field Values
CONDITION_ATTRIBUTE
public static final String CONDITION_ATTRIBUTE
- See Also:
- Constant Field Values
CONDITION_VALUE
public static final String CONDITION_VALUE
- See Also:
- Constant Field Values
LOG_SETTINGS_TAG
public static final String LOG_SETTINGS_TAG
- See Also:
- Constant Field Values
EventHandlerFactory
public EventHandlerFactory()
parse
public void parse(BaseConfiguration config,
Element elem)
throws Exception
- Parse the EventHandler element into an EventHandlerConfig
- Overrides:
parse
in class Factories
- Throws:
Exception
getActions
public void getActions(EventHandlerConfig ec,
Element elem)
throws Exception
- Throws:
Exception
getAction
public void getAction(EventHandlerConfig ec,
Element elem)
throws Exception
- Throws:
Exception
getActionItems
public void getActionItems(EventHandlerActionConfig ec,
Element elem,
int type)
throws Exception
- Throws:
Exception
getConditions
public void getConditions(EventHandlerActionConfig ec,
Element elem)
throws Exception
- Throws:
Exception
getAttributeMaps
public void getAttributeMaps(Element elem,
EventHandlerConfig config)
throws Exception
- Throws:
Exception
getAttributeMap
public void getAttributeMap(Element elem,
EventHandlerConfig config)
throws Exception
- Throws:
Exception
build
public void build(BaseConfiguration config,
Element elem)
throws Exception
- Description copied from class:
Factories
- Generate XML element from configuration object
- Overrides:
build
in class Factories
- Throws:
Exception
setActions
public void setActions(EventHandlerConfig ec,
Element elem)
throws Exception
- Throws:
Exception
setAction
public void setAction(EventHandlerActionConfig item,
Element elem)
throws Exception
- Throws:
Exception
setActionItems
public void setActionItems(Element elem,
Vector items,
String tag)
throws Exception
- Throws:
Exception
setConditions
public void setConditions(Element elem,
Vector items)
throws Exception
- Throws:
Exception
setAttributeMaps
public void setAttributeMaps(Element elem,
EventHandlerConfig cc)
throws Exception
- Throws:
Exception