|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.map.datasources.ServerDataSource
public class ServerDataSource
| Constructor Summary | |
|---|---|
ServerDataSource()
|
|
| Method Summary | |
|---|---|
protected void |
finalize()
|
double |
getAvailability(java.lang.Object id)
Gets the availability of the element with id in input using params in input |
int |
getSeverity(java.lang.Object id)
Gets the severity of the element with id in input using params in input |
int |
getStatus(java.lang.Object id)
Gets the status of the element with id in input using params in input |
void |
init(java.util.Map params)
Before invoking get() method, this method must be invoked. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerDataSource()
| Method Detail |
|---|
public void init(java.util.Map params)
init in interface DataSourceInterface
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic int getSeverity(java.lang.Object id)
DataSourceInterface
getSeverity in interface DataSourceInterfaceparams - is a HashMap that must contain entries for "url","driver","user","password","Critical","Major","Minor","Warning","Normal","Cleared","Indeterminate"
public int getStatus(java.lang.Object id)
DataSourceInterface
getStatus in interface DataSourceInterfacepublic double getAvailability(java.lang.Object id)
DataSourceInterface
getAvailability in interface DataSourceInterface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||