|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.events.AbstractEvent
org.hyperic.hq.control.ControlEvent
public class ControlEvent
Constructor Summary | |
---|---|
ControlEvent(java.lang.String subject,
int resourcetype,
java.lang.Integer resourceId,
java.lang.String action,
boolean scheduled,
long dateScheduled,
java.lang.String status)
Creates a new instance of ControlEvent |
Method Summary | |
---|---|
java.lang.String |
getAction()
Getter for property action. |
long |
getDateScheduled()
Getter for property dateScheduled |
java.lang.String |
getLevelString()
|
java.lang.String |
getMessage()
|
AppdefEntityID |
getResource()
Getter for property resource. |
boolean |
getScheduled()
Getter for property scheduled |
java.lang.String |
getStatus()
Getter for property status |
java.lang.String |
getSubject()
Getter for property subject. |
void |
setAction(java.lang.String action)
Setter for property action. |
void |
setDateScheduled(long dateScheduled)
Setter for property dateScheduled |
void |
setMessage(java.lang.String message)
|
void |
setScheduled(boolean scheduled)
Setter for property scheduled |
void |
setStatus(java.lang.String status)
Setter for property status |
void |
setSubject(java.lang.String subject)
Setter for property subject. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class org.hyperic.hq.events.AbstractEvent |
---|
equals, getId, getInstanceId, getTimestamp, hashCode, isLoggingSupported, setId, setInstanceId, setTimestamp |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ControlEvent(java.lang.String subject, int resourcetype, java.lang.Integer resourceId, java.lang.String action, boolean scheduled, long dateScheduled, java.lang.String status)
Method Detail |
---|
public java.lang.String getAction()
public void setAction(java.lang.String action)
action
- New value of property action.public java.lang.String getSubject()
getSubject
in interface LoggableInterface
public void setSubject(java.lang.String subject)
subject
- New value of property subject.public AppdefEntityID getResource()
getResource
in interface ResourceEventInterface
public boolean getScheduled()
public void setScheduled(boolean scheduled)
public long getDateScheduled()
public void setDateScheduled(long dateScheduled)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public java.lang.String toString()
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class java.lang.Object
public java.lang.String getLevelString()
getLevelString
in interface LoggableInterface
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- The message associated with the result (status) of the control action
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |