public class FormattedEventMailer extends java.lang.Object implements EventAction
ACTION_BALANCE, ACTION_CREATE, ACTION_DEPLOY, ACTION_DISABLE, ACTION_ENABLE, ACTION_FAILOVER, ACTION_LIST, ACTION_QUERY, ACTION_RELOAD, ACTION_REMOVE, ACTION_RENAME, ACTION_RESTART, ACTION_STANDBY, ACTION_STOP, ACTION_UNDEPLOY, ACTION_UPDATE
Constructor and Description |
---|
FormattedEventMailer(java.util.Map props) |
Modifier and Type | Method and Description |
---|---|
void |
close()
closes or cleans up all the resources
|
protected void |
finalize() |
java.lang.String |
getName()
returns the name of the action
|
void |
invokeAction(long currentTime,
Event event)
invokes the action upon the event
|
public void invokeAction(long currentTime, Event event)
EventAction
invokeAction
in interface EventAction
public java.lang.String getName()
EventAction
getName
in interface EventAction
public void close()
EventAction
close
in interface EventAction
protected void finalize()
finalize
in class java.lang.Object