public class DistributedStatusHistoryModel extends Object
DistributedStatusHistoryModel class.
Modifier and Type | Class and Description |
---|---|
static class |
DistributedStatusHistoryModel.ServiceGraph |
Constructor and Description |
---|
DistributedStatusHistoryModel(List<OnmsMonitoringLocation> locations,
List<OnmsApplication> applications,
List<OnmsLocationMonitor> monitors,
List<RelativeTimePeriod> periods,
OnmsMonitoringLocation chosenLocation,
OnmsApplication chosenApplication,
Collection<OnmsMonitoredService> chosenApplicationMemberServices,
OnmsLocationMonitor chosenMonitor,
RelativeTimePeriod chosenPeriod,
List<String> errors)
Constructor for DistributedStatusHistoryModel.
|
Modifier and Type | Method and Description |
---|---|
List<OnmsApplication> |
getApplications()
getApplications
|
OnmsApplication |
getChosenApplication()
getChosenApplication
|
Collection<OnmsMonitoredService> |
getChosenApplicationMemberServices()
getChosenApplicationMemberServices
|
OnmsMonitoringLocation |
getChosenLocation() |
OnmsLocationMonitor |
getChosenMonitor()
getChosenMonitor
|
RelativeTimePeriod |
getChosenPeriod()
getChosenPeriod
|
List<String> |
getErrors()
getErrors
|
List<OnmsMonitoringLocation> |
getLocations()
getLocations
|
List<OnmsLocationMonitor> |
getMonitors()
getMonitors
|
List<RelativeTimePeriod> |
getPeriods()
getPeriods
|
SortedSet<DistributedStatusHistoryModel.ServiceGraph> |
getServiceGraphs()
getServiceGraphs
|
void |
setServiceGraphs(SortedSet<DistributedStatusHistoryModel.ServiceGraph> serviceGraphs)
setServiceGraphs
|
public DistributedStatusHistoryModel(List<OnmsMonitoringLocation> locations, List<OnmsApplication> applications, List<OnmsLocationMonitor> monitors, List<RelativeTimePeriod> periods, OnmsMonitoringLocation chosenLocation, OnmsApplication chosenApplication, Collection<OnmsMonitoredService> chosenApplicationMemberServices, OnmsLocationMonitor chosenMonitor, RelativeTimePeriod chosenPeriod, List<String> errors)
Constructor for DistributedStatusHistoryModel.
locations
- a List
object.applications
- a List
object.monitors
- a List
object.periods
- a List
object.chosenLocation
- a org.opennms.netmgt.model.OnmsMonitoringLocationDefinition
object.chosenApplication
- a OnmsApplication
object.chosenApplicationMemberServices
- a Collection
object.chosenMonitor
- a OnmsLocationMonitor
object.chosenPeriod
- a RelativeTimePeriod
object.errors
- a List
object.public List<OnmsApplication> getApplications()
getApplications
List
object.public List<OnmsMonitoringLocation> getLocations()
getLocations
List
object.public OnmsApplication getChosenApplication()
getChosenApplication
OnmsApplication
object.public Collection<OnmsMonitoredService> getChosenApplicationMemberServices()
getChosenApplicationMemberServices
Collection
object.public OnmsMonitoringLocation getChosenLocation()
public RelativeTimePeriod getChosenPeriod()
getChosenPeriod
RelativeTimePeriod
object.public List<RelativeTimePeriod> getPeriods()
getPeriods
List
object.public OnmsLocationMonitor getChosenMonitor()
getChosenMonitor
OnmsLocationMonitor
object.public List<OnmsLocationMonitor> getMonitors()
getMonitors
List
object.public SortedSet<DistributedStatusHistoryModel.ServiceGraph> getServiceGraphs()
getServiceGraphs
SortedSet
object.public void setServiceGraphs(SortedSet<DistributedStatusHistoryModel.ServiceGraph> serviceGraphs)
setServiceGraphs
serviceGraphs
- a SortedSet
object.Copyright © 2021. All rights reserved.