Modifier and Type | Method and Description |
---|---|
Map<OnmsResourceType,List<OnmsResource>> |
RrdGraphHelper.getResourceTypeMapForNodeId(int nodeId)
Returns a map of resources for a given resourceType.
|
Map<OnmsResourceType,List<OnmsResource>> |
RrdGraphHelper.getResourceTypeMapForNodeId(String nodeId)
Returns a map of resources for a given resourceType.
|
Modifier and Type | Method and Description |
---|---|
Map<OnmsResourceType,List<OnmsResource>> |
SurveillanceViewService.getResourceTypeMapForNodeId(int nodeId)
Returns a map of OpenNMS resource type/resource mappings for a given node id.
|
Map<OnmsResourceType,List<OnmsResource>> |
DefaultSurveillanceViewService.getResourceTypeMapForNodeId(int nodeId)
Returns a map of OpenNMS resource type/resource mappings for a given node id.
|
Map<OnmsResourceType,List<OnmsResource>> |
SurveillanceViewService.getResourceTypeMapForNodeId(String nodeId)
Returns a map of OpenNMS resource type/resource mappings for a given node id.
|
Map<OnmsResourceType,List<OnmsResource>> |
DefaultSurveillanceViewService.getResourceTypeMapForNodeId(String nodeId)
Returns a map of OpenNMS resource type/resource mappings for a given node id.
|
Modifier and Type | Method and Description |
---|---|
OnmsResource |
ResourceDao.getResourceById(String id)
getResourceById
|
OnmsResource |
ResourceDao.getResourceForIpInterface(OnmsIpInterface ipInterface)
getResourceForIpInterface
|
OnmsResource |
ResourceDao.getResourceForIpInterface(OnmsIpInterface ipInterface,
OnmsLocationMonitor locationMonitor)
getResourceForIpInterface
|
OnmsResource |
ResourceDao.getResourceForNode(OnmsNode node)
getResourceForNode
|
Modifier and Type | Method and Description |
---|---|
List<OnmsResource> |
ResourceDao.findDomainResources()
findDomainResources
|
List<OnmsResource> |
ResourceDao.findTopLevelResources()
findTopLevelResources
|
List<OnmsResource> |
ResourceDao.getResourceListById(String id)
getResourceListById
|
Modifier and Type | Method and Description |
---|---|
PrefabGraph[] |
GraphDao.getPrefabGraphsForResource(OnmsResource resource)
getPrefabGraphsForResource
|
Modifier and Type | Method and Description |
---|---|
OnmsResource |
MockResourceDao.getResourceById(String id) |
OnmsResource |
MockResourceDao.getResourceForIpInterface(OnmsIpInterface ipInterface) |
OnmsResource |
MockResourceDao.getResourceForIpInterface(OnmsIpInterface ipInterface,
OnmsLocationMonitor locationMonitor) |
OnmsResource |
MockResourceDao.getResourceForNode(OnmsNode node) |
Modifier and Type | Method and Description |
---|---|
List<OnmsResource> |
MockResourceDao.findDomainResources() |
List<OnmsResource> |
MockResourceDao.findTopLevelResources() |
List<OnmsResource> |
MockResourceDao.getResourceListById(String id) |
Modifier and Type | Method and Description |
---|---|
OnmsResource |
NodeResourceType.createChildResource(OnmsNode node)
createChildResource
|
OnmsResource |
NodeSourceResourceType.createChildResource(String nodeSource)
createChildResource
|
OnmsResource |
DomainResourceType.createChildResource(String domain)
createChildResource
|
OnmsResource |
ResponseTimeResourceType.getChildByName(OnmsResource parent,
String ipAddress) |
OnmsResource |
NodeSourceResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
NodeSnmpResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
NodeResourceType.getChildByName(OnmsResource parent,
String nodeIdStr)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
InterfaceSnmpResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
GenericIndexResourceType.getChildByName(OnmsResource parent,
String index)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
DomainResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
DistributedStatusResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
protected OnmsResource |
DefaultResourceDao.getChildResource(OnmsResource parentResource,
String resourceType,
String resource)
getChildResource
|
protected OnmsResource |
DefaultResourceDao.getDomainEntityResource(String domain)
getDomainEntityResource
|
protected OnmsResource |
DefaultResourceDao.getForeignSourceNodeEntityResource(String resource)
getForeignSourceNodeEntityResource
|
protected OnmsResource |
DefaultResourceDao.getNodeEntityResource(String resource)
getNodeEntityResource
|
OnmsResource |
DefaultResourceDao.getResourceById(String id)
Fetch a specific resource by string ID.
|
OnmsResource |
GenericIndexResourceType.getResourceByIndex(Set<OnmsAttribute> set,
String index)
getResourceByIndex
|
OnmsResource |
GenericIndexResourceType.getResourceByNodeAndIndex(int nodeId,
String index)
getResourceByNodeAndIndex
|
OnmsResource |
GenericIndexResourceType.getResourceByNodeSourceAndIndex(String nodeSource,
String index)
getResourceByNodeSourceAndIndex
|
OnmsResource |
DefaultResourceDao.getResourceForIpInterface(OnmsIpInterface ipInterface) |
OnmsResource |
DefaultResourceDao.getResourceForIpInterface(OnmsIpInterface ipInterface,
OnmsLocationMonitor locMon) |
OnmsResource |
DefaultResourceDao.getResourceForNode(OnmsNode node)
getResourceForNode
|
protected OnmsResource |
DefaultResourceDao.getTopLevelResource(String resourceType,
String resource)
getTopLevelResource
|
Modifier and Type | Method and Description |
---|---|
List<OnmsResource> |
DefaultResourceDao.findDomainResources()
Returns a list of resources for domains.
|
protected List<OnmsResource> |
DefaultResourceDao.findNodeResources()
Returns a list of resources for all the nodes.
|
List<OnmsResource> |
DefaultResourceDao.findTopLevelResources()
findTopLevelResources
|
protected List<OnmsResource> |
DefaultResourceDao.getChildResourceList(OnmsResource parentResource)
getChildResourceList
|
List<OnmsResource> |
DefaultResourceDao.getResourceListById(String id)
Fetch a specific list of resources by string ID.
|
List<OnmsResource> |
ResponseTimeResourceType.getResourcesForDomain(String domain)
Gets a list of resources on a specific domain.
|
List<OnmsResource> |
NodeSourceResourceType.getResourcesForDomain(String domain)
Gets a list of resources on a specific domain.
|
List<OnmsResource> |
NodeSnmpResourceType.getResourcesForDomain(String domain)
Gets a list of resources on a specific domain.
|
List<OnmsResource> |
NodeResourceType.getResourcesForDomain(String domain)
Gets a list of resources on a specific domain.
|
List<OnmsResource> |
InterfaceSnmpResourceType.getResourcesForDomain(String domain)
Gets a list of resources on a specific domain.
|
List<OnmsResource> |
GenericIndexResourceType.getResourcesForDomain(String domain)
Gets a list of resources on a specific domain.
|
List<OnmsResource> |
DomainResourceType.getResourcesForDomain(String domain)
Gets a list of resources on a specific domain.
|
List<OnmsResource> |
DistributedStatusResourceType.getResourcesForDomain(String domain)
Gets a list of resources on a specific domain.
|
List<OnmsResource> |
DistributedStatusResourceType.getResourcesForLocationMonitor(int locationMonitorId)
getResourcesForLocationMonitor
|
List<OnmsResource> |
ResponseTimeResourceType.getResourcesForNode(int nodeId)
Gets a list of resources on a specific node.
|
List<OnmsResource> |
NodeSourceResourceType.getResourcesForNode(int nodeId)
Gets a list of resources on a specific node.
|
List<OnmsResource> |
NodeSnmpResourceType.getResourcesForNode(int nodeId)
Gets a list of resources on a specific node.
|
List<OnmsResource> |
NodeResourceType.getResourcesForNode(int nodeId)
Gets a list of resources on a specific node.
|
List<OnmsResource> |
InterfaceSnmpResourceType.getResourcesForNode(int nodeId)
Gets a list of resources on a specific node.
|
List<OnmsResource> |
GenericIndexResourceType.getResourcesForNode(int nodeId)
Gets a list of resources on a specific node.
|
List<OnmsResource> |
DomainResourceType.getResourcesForNode(int nodeId)
Gets a list of resources on a specific node.
|
List<OnmsResource> |
DistributedStatusResourceType.getResourcesForNode(int nodeId)
Gets a list of resources on a specific node.
|
List<OnmsResource> |
ResponseTimeResourceType.getResourcesForNodeSource(String nodeSource,
int nodeId) |
List<OnmsResource> |
NodeSourceResourceType.getResourcesForNodeSource(String nodeSource,
int nodeId) |
List<OnmsResource> |
NodeSnmpResourceType.getResourcesForNodeSource(String nodeSource,
int nodeId) |
List<OnmsResource> |
NodeResourceType.getResourcesForNodeSource(String nodeSource,
int nodeId) |
List<OnmsResource> |
InterfaceSnmpResourceType.getResourcesForNodeSource(String nodeSource,
int nodeId) |
List<OnmsResource> |
GenericIndexResourceType.getResourcesForNodeSource(String nodeSource,
int nodeId) |
List<OnmsResource> |
DomainResourceType.getResourcesForNodeSource(String nodeSource,
int nodeId) |
List<OnmsResource> |
DistributedStatusResourceType.getResourcesForNodeSource(String nodeSource,
int nodeId) |
List<OnmsResource> |
NodeSourceResourceType.NodeSourceChildResourceLoader.load() |
List<OnmsResource> |
DomainResourceType.DomainChildResourceLoader.load() |
Modifier and Type | Method and Description |
---|---|
OnmsResource |
ResponseTimeResourceType.getChildByName(OnmsResource parent,
String ipAddress) |
OnmsResource |
NodeSourceResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
NodeSnmpResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
NodeResourceType.getChildByName(OnmsResource parent,
String nodeIdStr)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
InterfaceSnmpResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
GenericIndexResourceType.getChildByName(OnmsResource parent,
String index)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
DomainResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
DistributedStatusResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
protected OnmsResource |
DefaultResourceDao.getChildResource(OnmsResource parentResource,
String resourceType,
String resource)
getChildResource
|
protected List<OnmsResource> |
DefaultResourceDao.getChildResourceList(OnmsResource parentResource)
getChildResourceList
|
String |
ResponseTimeResourceType.getLinkForResource(OnmsResource resource)
getLinkForResource
|
String |
NodeSourceResourceType.getLinkForResource(OnmsResource resource)
getLinkForResource
|
String |
NodeSnmpResourceType.getLinkForResource(OnmsResource resource)
getLinkForResource
|
String |
NodeResourceType.getLinkForResource(OnmsResource resource)
getLinkForResource
|
String |
InterfaceSnmpResourceType.getLinkForResource(OnmsResource resource)
getLinkForResource
|
String |
GenericIndexResourceType.getLinkForResource(OnmsResource resource)
getLinkForResource
|
String |
DomainResourceType.getLinkForResource(OnmsResource resource)
getLinkForResource
|
String |
DistributedStatusResourceType.getLinkForResource(OnmsResource resource)
getLinkForResource
|
PrefabGraph[] |
PropertiesGraphDao.getPrefabGraphsForResource(OnmsResource resource)
getPrefabGraphsForResource
|
void |
NodeSourceResourceType.NodeSourceChildResourceLoader.setParent(OnmsResource parent) |
void |
DomainResourceType.DomainChildResourceLoader.setParent(OnmsResource parent) |
void |
ResourceTypeFilteringResourceVisitor.visit(OnmsResource resource)
visit
|
void |
ResourceAttributeFilteringResourceVisitor.visit(OnmsResource resource)
visit
|
void |
AttributeMatchingResourceVisitor.visit(OnmsResource resource)
visit
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceTreeWalker.walk(Collection<OnmsResource> resources)
walk
|
Modifier and Type | Method and Description |
---|---|
OnmsResource |
MockResourceType.getChildByName(OnmsResource parent,
String name) |
Modifier and Type | Method and Description |
---|---|
List<OnmsResource> |
MockResourceType.getResourcesForDomain(String domain) |
List<OnmsResource> |
MockResourceType.getResourcesForNode(int nodeId) |
List<OnmsResource> |
MockResourceType.getResourcesForNodeSource(String nodeSource,
int nodeId) |
Modifier and Type | Method and Description |
---|---|
OnmsResource |
MockResourceType.getChildByName(OnmsResource parent,
String name) |
String |
MockResourceType.getLinkForResource(OnmsResource resource) |
Modifier and Type | Method and Description |
---|---|
OnmsResource |
OnmsResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
OnmsResource |
OnmsResource.getParent()
getParent
|
OnmsResource |
StringPropertyAttribute.getResource()
getResource
|
OnmsResource |
RrdGraphAttribute.getResource()
Retrieve the resource for this attribute.
|
OnmsResource |
OnmsAttribute.getResource()
getResource
|
OnmsResource |
ExternalValueAttribute.getResource()
getResource
|
Modifier and Type | Method and Description |
---|---|
List<OnmsResource> |
OnmsResource.getChildResources()
getChildResources
|
List<OnmsResource> |
OnmsResourceType.getResourcesForDomain(String domain)
Gets a list of resources on a specific domain.
|
List<OnmsResource> |
OnmsResourceType.getResourcesForNode(int nodeId)
Gets a list of resources on a specific node.
|
List<OnmsResource> |
OnmsResourceType.getResourcesForNodeSource(String nodeSource,
int nodeId) |
static List<OnmsResource> |
OnmsResource.sortIntoResourceList(List<OnmsResource> resources)
Sorts the List of Resources and returns a new List of the
generic type Resource.
|
Modifier and Type | Method and Description |
---|---|
int |
OnmsResource.compareTo(OnmsResource o)
compareTo
|
OnmsResource |
OnmsResourceType.getChildByName(OnmsResource parent,
String name)
Retrieves a child resource with the given name from the parent.
|
String |
OnmsResourceType.getLinkForResource(OnmsResource resource)
getLinkForResource
|
static OnmsNode |
ResourceTypeUtils.getNodeFromResource(OnmsResource resource)
Convenience method for retrieving the OnmsNode entity from
an abstract resource.
|
void |
OnmsResource.setParent(OnmsResource parent)
setParent
|
void |
StringPropertyAttribute.setResource(OnmsResource resource)
setResource
|
void |
RrdGraphAttribute.setResource(OnmsResource resource)
setResource
|
void |
OnmsAttribute.setResource(OnmsResource resource)
setResource
|
void |
ExternalValueAttribute.setResource(OnmsResource resource)
setResource
|
void |
ResourceVisitor.visit(OnmsResource resource)
visit
|
Modifier and Type | Method and Description |
---|---|
static List<OnmsResource> |
OnmsResource.sortIntoResourceList(List<OnmsResource> resources)
Sorts the List of Resources and returns a new List of the
generic type Resource.
|
Constructor and Description |
---|
OnmsResource(String name,
String label,
OnmsResourceType resourceType,
Set<OnmsAttribute> attributes,
List<OnmsResource> resources)
Constructor for OnmsResource.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
NrtController.getRequiredExternalPropertyAttributes(OnmsResource reportResource,
PrefabGraph prefabGraph) |
Set<RrdGraphAttribute> |
NrtController.getRequiredRrdGraphAttributes(OnmsResource reportResource,
PrefabGraph prefabGraph) |
Map<String,String> |
NrtController.getRequiredStringPropertyAttributes(OnmsResource reportResource,
PrefabGraph prefabGraph) |
Modifier and Type | Method and Description |
---|---|
OnmsResource |
KscResultSet.getResource()
getResource
|
Constructor and Description |
---|
KscResultSet(String title,
Date start,
Date end,
OnmsResource resource,
PrefabGraph prefabGraph)
Constructor for KscResultSet.
|
Constructor and Description |
---|
ResourceDTO(OnmsResource resource) |
ResourceDTO(OnmsResource resource,
int depth) |
Modifier and Type | Method and Description |
---|---|
OnmsResource |
ResourceService.getResourceById(String id)
getResourceById
|
OnmsResource |
KscReportService.getResourceFromGraph(Graph graph)
getResourceFromGraph
|
Modifier and Type | Method and Description |
---|---|
List<OnmsResource> |
ResourceService.findChildResources(OnmsResource resource,
String... resourceTypeMatches)
findChildResources
|
List<OnmsResource> |
ResourceService.findDomainChildResources(String domain)
findDomainChildResources
|
List<OnmsResource> |
ResourceService.findNodeChildResources(int nodeId)
findNodeChildResources
|
List<OnmsResource> |
ResourceService.findNodeChildResources(OnmsNode node)
findNodeChildResources
|
List<OnmsResource> |
ResourceService.findNodeSourceChildResources(String nodeSource)
findNodeSourceChildResources
|
List<OnmsResource> |
ResourceService.findTopLevelResources()
findTopLevelResources
|
List<OnmsResource> |
ResourceService.getResourceListById(String resourceId)
getResourceListById
|
List<OnmsResource> |
KscReportService.getResourcesFromGraphs(List<Graph> graphs)
getResourcesFromGraphs
|
Modifier and Type | Method and Description |
---|---|
List<OnmsResource> |
ResourceService.findChildResources(OnmsResource resource,
String... resourceTypeMatches)
findChildResources
|
PrefabGraph[] |
ResourceService.findPrefabGraphsForChildResources(OnmsResource resource,
String... resourceTypeMatches)
findPrefabGraphsForChildResources
|
PrefabGraph[] |
ResourceService.findPrefabGraphsForResource(OnmsResource resource)
findPrefabGraphsForResource
|
void |
ResourceService.promoteGraphAttributesForResource(OnmsResource resource)
promoteGraphAttributesForResource
|
Modifier and Type | Class and Description |
---|---|
static class |
StatisticsReportModel.PrettyOnmsResource
This class extends OnmsResource and overrides the toString() method, providing
a more human-readable description of the resource.
|
Modifier and Type | Method and Description |
---|---|
OnmsResource |
StatisticsReportModel.Datum.getPrettyResource() |
OnmsResource |
StatisticsReportModel.Datum.getResource() |
OnmsResource |
GraphResults.GraphResultSet.getResource() |
OnmsResource |
Graph.getResource()
getResource
|
OnmsResource |
ChooseResourceModel.getResource()
getResource
|
Modifier and Type | Method and Description |
---|---|
List<OnmsResource> |
StatisticsReportModel.Datum.getPrettyResourceParentsReversed() |
List<OnmsResource> |
StatisticsReportModel.Datum.getResourceParentsReversed() |
Map<OnmsResourceType,List<OnmsResource>> |
ChooseResourceModel.getResourceTypes()
getResourceTypes
|
Modifier and Type | Method and Description |
---|---|
void |
StatisticsReportModel.Datum.setResource(OnmsResource resource) |
void |
GraphResults.GraphResultSet.setResource(OnmsResource resource) |
void |
ChooseResourceModel.setResource(OnmsResource resource)
setResource
|
Modifier and Type | Method and Description |
---|---|
void |
ChooseResourceModel.setResourceTypes(Map<OnmsResourceType,List<OnmsResource>> resourceTypes)
setResourceTypes
|
Constructor and Description |
---|
Graph(PrefabGraph graph,
OnmsResource resource,
Date start,
Date end)
Constructor for Graph.
|
PrettyOnmsResource(OnmsResource rs)
Constructor for PrettyOnmsResource.
|
Modifier and Type | Method and Description |
---|---|
OnmsResource |
DefaultResourceService.getResourceById(String id)
getResourceById
|
OnmsResource |
DefaultKscReportService.getResourceFromGraph(Graph graph)
getResourceFromGraph
|
Modifier and Type | Method and Description |
---|---|
List<OnmsResource> |
DefaultResourceService.findChildResources(OnmsResource resource,
String... resourceTypeMatches)
findChildResources
|
List<OnmsResource> |
DefaultResourceService.findDomainChildResources(String domain)
findDomainChildResources
|
List<OnmsResource> |
DefaultResourceService.findNodeChildResources(int nodeId)
findNodeChildResources
|
List<OnmsResource> |
DefaultResourceService.findNodeChildResources(OnmsNode node)
findNodeChildResources
|
List<OnmsResource> |
DefaultResourceService.findNodeSourceChildResources(String nodeSource)
findNodeSourceChildResources
|
List<OnmsResource> |
DefaultResourceService.findTopLevelResources()
findTopLevelResources
|
List<OnmsResource> |
DefaultResourceService.getResourceListById(String resourceId)
getResourceListById
|
List<OnmsResource> |
DefaultKscReportService.getResourcesFromGraphs(List<Graph> graphs)
getResourcesFromGraphs
|
Modifier and Type | Method and Description |
---|---|
protected String |
DefaultRrdGraphService.createAdHocCommand(AdhocGraphType adhocType,
OnmsResource resource,
long start,
long end,
String graphtitle,
String[] dsNames,
String[] dsAggregFxns,
String[] colors,
String[] dsTitles,
String[] dsStyles)
createAdHocCommand
|
List<OnmsResource> |
DefaultResourceService.findChildResources(OnmsResource resource,
String... resourceTypeMatches)
findChildResources
|
PrefabGraph[] |
DefaultResourceService.findPrefabGraphsForChildResources(OnmsResource resource,
String... resourceTypeMatches)
findPrefabGraphsForChildResources
|
PrefabGraph[] |
DefaultResourceService.findPrefabGraphsForResource(OnmsResource resource)
findPrefabGraphsForResource
|
void |
DefaultResourceService.promoteGraphAttributesForResource(OnmsResource resource)
promoteGraphAttributesForResource
|
Copyright © 2015. All rights reserved.