Class ApplicationGraphProvider
- java.lang.Object
-
- org.opennms.netmgt.graph.provider.application.ApplicationGraphProvider
-
- All Implemented Interfaces:
GraphProvider
public class ApplicationGraphProvider extends Object implements GraphProvider
-
-
Constructor Summary
Constructors Constructor Description ApplicationGraphProvider(SessionUtils sessionUtils, ApplicationDao applicationDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphInfogetGraphInfo()TheGraphInfoshould be used to provide details of the graph's nature, e.g.ImmutableGraph<ApplicationVertex,SimpleDomainEdge>loadGraph()Loads the graph, thisGraphProviderhandles.
-
-
-
Constructor Detail
-
ApplicationGraphProvider
public ApplicationGraphProvider(SessionUtils sessionUtils, ApplicationDao applicationDao)
-
-
Method Detail
-
getGraphInfo
public GraphInfo getGraphInfo()
Description copied from interface:GraphProviderTheGraphInfoshould be used to provide details of the graph's nature, e.g. the namespace, label or description AImmutableGraphshould also embed this information. The difference is, that the info should always be available, even if the graph is not yet loaded, and should also never change during the provider's live time, whereas the graph itself may change (e.g. different vertices/edges and properties (besides the ones defining the info)).- Specified by:
getGraphInfoin interfaceGraphProvider- Returns:
- the meta information of the graph
-
loadGraph
public ImmutableGraph<ApplicationVertex,SimpleDomainEdge> loadGraph()
Description copied from interface:GraphProviderLoads the graph, thisGraphProviderhandles. Loading may be performed very quickly, but also may take some time.- Specified by:
loadGraphin interfaceGraphProvider- Returns:
- The populated graph.
-
-