com.tivoli.zce.actions
Interface IAction
- All Superinterfaces:
- com.tivoli.zce.IEventProcessor, com.tivoli.zce.IEventSender
- All Known Implementing Classes:
- DefaultActionHandler
- public interface IAction
- extends com.tivoli.zce.IEventProcessor, com.tivoli.zce.IEventSender
An action class must implement this interface. However a convenience class
com.tivoli.zce.actions.DefaultActionHandler
is
provided to hide unnecessary internal details of an action.
Fields inherited from interface com.tivoli.zce.IEventProcessor |
IBM_Copyright |
Fields inherited from interface com.tivoli.zce.IEventSender |
IBM_Copyright |
Method Summary |
java.lang.Object |
doParse(IRule rule,
java.lang.String actionString)
The method doParse is called when the com.tivoli.zce.actions.ActionFactory is
initializing an Action to parse and process parameters for the action. |
Methods inherited from interface com.tivoli.zce.IEventProcessor |
processEvent, processEvents |
Methods inherited from interface com.tivoli.zce.IEventSender |
addEventProcessor, getEventProcessor, removeEventProcessor |
doParse
public java.lang.Object doParse(IRule rule,
java.lang.String actionString)
throws com.tivoli.zce.CorrelatorException
- The method doParse is called when the
com.tivoli.zce.actions.ActionFactory
is
initializing an Action to parse and process parameters for the action.
- Parameters:
rule
- the rule to which this action is attached toactionString
- the String
representing the parameters for initializing this action.- Returns:
- the action itself
- Throws:
com.tivoli.zce.CorrelatorException
- exception thrown when the parsing of parameters is not successfull. The handling
and the raising of exception is determined by the developer of actions.