|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.logging.adapter.impl.Status
Implementation of the IStatus interface to represent the status of an adapter entity (eg. Component or Context)
| Constructor Summary | |
|---|---|
Status()
|
|
| Method Summary | |
|---|---|
IStatus[] |
getChildrenStatus()
Get the status of all of this entity's children. |
IStatus |
getChildStatus(java.lang.String name)
Get the status of the child entity with the specified name. |
long |
getElapsedTimeInMilliseconds()
Get the elpased time since the entity started executing as a long in milliseconds. |
float |
getElpasedTimeInSeconds()
Get the elpased time since the entity started executing as a float in seconds. |
int |
getItemsProcessedCount()
Get the number of items this entity has processed. |
java.lang.String |
getName()
Gets the name of the entity this status is for. |
boolean |
isActive()
Returns whether the entity this status is for is active All child status objects are checked as well. |
void |
setActive(boolean active)
Sets the active status of the entity |
void |
setChildrenStatus(IStatus[] children)
Sets the status of children entities |
void |
setItemsProcessedCount(int itemsProcessedCount)
Sets the count of the number of items processed by this entity |
void |
setName(java.lang.String name)
Sets the name of the entity this status is for. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Status()
| Method Detail |
public void setName(java.lang.String name)
name - The name to set.public java.lang.String getName()
getName in interface IStatusIStatus.getName()public void setActive(boolean active)
active - The active status to set.public boolean isActive()
isActive in interface IStatusIStatus.isActive()public void setItemsProcessedCount(int itemsProcessedCount)
itemsProcessedCount - The itemsProcessedCount to set.public int getItemsProcessedCount()
getItemsProcessedCount in interface IStatusIStatus.getItemsProcessedCount()public void setChildrenStatus(IStatus[] children)
children - The status of children.public IStatus[] getChildrenStatus()
getChildrenStatus in interface IStatusIStatus.getChildrenStatus()public IStatus getChildStatus(java.lang.String name)
getChildStatus in interface IStatusname - of entity
IStatus.getChildStatus(java.lang.String)public long getElapsedTimeInMilliseconds()
getElapsedTimeInMilliseconds in interface IStatusIStatus.getElapsedTimeInMilliseconds()public float getElpasedTimeInSeconds()
|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||