org.hyperic.hq.bizapp.server.action.email
Class EmailAction
java.lang.Object
org.hyperic.hq.bizapp.shared.action.EmailActionConfig
org.hyperic.hq.bizapp.server.action.email.EmailAction
- All Implemented Interfaces:
- ActionConfigInterface, ActionInterface, Notify
public class EmailAction
- extends EmailActionConfig
- implements ActionInterface, Notify
Methods inherited from class org.hyperic.hq.bizapp.shared.action.EmailActionConfig |
getConfigResponse, getConfigSchema, getImplementor, getNames, getType, getUsers, init, isSms, setImplementor, setNames, setSms, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RES_NAME_HOLDER
public static final java.lang.String RES_NAME_HOLDER
- See Also:
- Constant Field Values
RES_DESC_HOLDER
public static final java.lang.String RES_DESC_HOLDER
- See Also:
- Constant Field Values
baseUrl
protected static java.lang.String baseUrl
EmailAction
public EmailAction()
getSubjMan
protected final org.hyperic.hq.authz.shared.AuthzSubjectManagerLocal getSubjMan()
execute
public java.lang.String execute(AlertInterface alert,
ActionExecutionInfo info)
throws ActionExecuteException
- Description copied from interface:
ActionInterface
- Execute the action.
- Specified by:
execute
in interface ActionInterface
- Returns:
- text which will be associated with the action execution
logs.
AlertActionLog
- Throws:
ActionExecuteException
getLog
protected java.lang.StringBuffer getLog(EmailRecipient[] to)
lookupEmailAddr
protected java.util.Map lookupEmailAddr()
throws ActionExecuteException
- Throws:
ActionExecuteException
setParentActionConfig
public void setParentActionConfig(AppdefEntityID ent,
ConfigResponse cfg)
throws InvalidActionDataException
- Description copied from interface:
ActionInterface
- Inherit configuration from parent action
- Specified by:
setParentActionConfig
in interface ActionInterface
- Throws:
InvalidActionDataException
send
public void send(Escalatable alert,
EscalationStateChange change,
java.lang.String message,
java.util.Set notified)
throws ActionExecuteException
- Description copied from interface:
Notify
- Send a notification about the change of state in an escalation.
- Specified by:
send
in interface Notify
- Parameters:
alert
- Escalatable which originally kicked off an escalationchange
- New state of the escalationmessage
- Message about the state change
- Throws:
ActionExecuteException
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.