|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.pathOutage.PathOutageFactory
public class PathOutageFactory
The source for all path outage business objects (nodes, critical path IPs, critical path service names). Encapsulates all lookup functionality for these business objects in one place.
| Constructor Summary | |
|---|---|
PathOutageFactory()
|
|
| Method Summary | |
|---|---|
static List<String[]> |
getAllCriticalPaths()
Retrieve all the critical paths from the database |
static String[] |
getCriticalPathData(String criticalPathIp,
String criticalPathServiceName)
This method is responsible for determining the data related to the critical path: node label, nodeId, the number of nodes dependent on this path, and the managed state of the path |
static String[] |
getLabelAndStatus(String nodeIDStr,
Connection conn)
This method is responsible for determining the node label of a node, and the up/down status and status color |
static List<String> |
getNodesInPath(String criticalPathIp,
String criticalPathServiceName)
Retrieve all the nodes in a critical path from the database |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathOutageFactory()
| Method Detail |
|---|
public static List<String[]> getAllCriticalPaths()
throws SQLException
Retrieve all the critical paths from the database
SQLException
public static List<String> getNodesInPath(String criticalPathIp,
String criticalPathServiceName)
throws SQLException
Retrieve all the nodes in a critical path from the database
criticalPathIp - IP address of the critical pathcriticalPathServiceName - service name for the critical path
SQLException
public static String[] getLabelAndStatus(String nodeIDStr,
Connection conn)
throws SQLException
String - nodeID
the nodeID of the node being checked
SQLException
public static String[] getCriticalPathData(String criticalPathIp,
String criticalPathServiceName)
throws SQLException
String - criticalPathIp
the criticalPathIp of the node
being checkedString - criticalPathServiceName the
criticalPathServiceName of the
node being checked
SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||