org.hyperic.hq.events.server.session
Class Action
java.lang.Object
org.hyperic.hibernate.PersistedObject
org.hyperic.hq.events.server.session.Action
- All Implemented Interfaces:
- java.io.Serializable, JSON
public class Action
- extends PersistedObject
- implements JSON
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
JSON_NAME
|
Constructor Summary |
protected |
Action()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
JSON_NAME
public static final java.lang.String JSON_NAME
- See Also:
- Constant Field Values
Action
protected Action()
getClassName
public java.lang.String getClassName()
setClassName
protected void setClassName(java.lang.String className)
getConfig
public byte[] getConfig()
setConfig
protected void setConfig(byte[] config)
getParent
public Action getParent()
setParent
protected void setParent(Action parent)
getAlertDefinition
public AlertDefinition getAlertDefinition()
setAlertDefinition
protected void setAlertDefinition(AlertDefinition alertDefinition)
getChildren
public java.util.Collection getChildren()
getChildrenBag
protected java.util.Collection getChildrenBag()
setChildrenBag
protected void setChildrenBag(java.util.Collection children)
getLogEntries
public java.util.Collection getLogEntries()
getLogEntriesBag
protected java.util.Collection getLogEntriesBag()
setLogEntriesBag
protected void setLogEntriesBag(java.util.Collection logEntries)
isDeleted
public boolean isDeleted()
setDeleted
protected void setDeleted(boolean deleted)
getActionValue
public ActionValue getActionValue()
toJSON
public org.json.JSONObject toJSON()
- Description copied from interface:
JSON
- Convert the object to a Json object
- Specified by:
toJSON
in interface JSON
getJsonName
public java.lang.String getJsonName()
- Specified by:
getJsonName
in interface JSON
getInitializedAction
public ActionInterface getInitializedAction()
executeAction
public java.lang.String executeAction(AlertInterface alert,
ActionExecutionInfo info)
throws ActionExecuteException
- Execute the action specified by the classname and config data.
- Throws:
ActionExecuteException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.