org.opennms.web.svclayer.support
Class DistributedStatusHistoryModel

java.lang.Object
  extended by org.opennms.web.svclayer.support.DistributedStatusHistoryModel

public class DistributedStatusHistoryModel
extends Object

DistributedStatusHistoryModel class.

Since:
1.8.1
Version:
$Id: $
Author:
DJ Gregor, Mathew Brozowski, DJ Gregor, Mathew Brozowski

Nested Class Summary
static class DistributedStatusHistoryModel.ServiceGraph
           
 
Constructor Summary
DistributedStatusHistoryModel(List<OnmsMonitoringLocationDefinition> locations, List<OnmsApplication> applications, List<OnmsLocationMonitor> monitors, List<RelativeTimePeriod> periods, OnmsMonitoringLocationDefinition chosenLocation, OnmsApplication chosenApplication, Collection<OnmsMonitoredService> chosenApplicationMemberServices, OnmsLocationMonitor chosenMonitor, RelativeTimePeriod chosenPeriod, List<String> errors)
          Constructor for DistributedStatusHistoryModel.
 
Method Summary
 List<OnmsApplication> getApplications()
          getApplications
 OnmsApplication getChosenApplication()
          getChosenApplication
 Collection<OnmsMonitoredService> getChosenApplicationMemberServices()
          getChosenApplicationMemberServices
 OnmsMonitoringLocationDefinition getChosenLocation()
          getChosenLocation
 OnmsLocationMonitor getChosenMonitor()
          getChosenMonitor
 RelativeTimePeriod getChosenPeriod()
          getChosenPeriod
 List<String> getErrors()
          getErrors
 List<OnmsMonitoringLocationDefinition> getLocations()
          getLocations
 List<OnmsLocationMonitor> getMonitors()
          getMonitors
 List<RelativeTimePeriod> getPeriods()
          getPeriods
 SortedSet<DistributedStatusHistoryModel.ServiceGraph> getServiceGraphs()
          getServiceGraphs
 void setServiceGraphs(SortedSet<DistributedStatusHistoryModel.ServiceGraph> serviceGraphs)
          setServiceGraphs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedStatusHistoryModel

public DistributedStatusHistoryModel(List<OnmsMonitoringLocationDefinition> locations,
                                     List<OnmsApplication> applications,
                                     List<OnmsLocationMonitor> monitors,
                                     List<RelativeTimePeriod> periods,
                                     OnmsMonitoringLocationDefinition chosenLocation,
                                     OnmsApplication chosenApplication,
                                     Collection<OnmsMonitoredService> chosenApplicationMemberServices,
                                     OnmsLocationMonitor chosenMonitor,
                                     RelativeTimePeriod chosenPeriod,
                                     List<String> errors)

Constructor for DistributedStatusHistoryModel.

Parameters:
locations - a List object.
applications - a List object.
monitors - a List object.
periods - a List object.
chosenLocation - a OnmsMonitoringLocationDefinition object.
chosenApplication - a OnmsApplication object.
chosenApplicationMemberServices - a Collection object.
chosenMonitor - a OnmsLocationMonitor object.
chosenPeriod - a RelativeTimePeriod object.
errors - a List object.
Method Detail

getApplications

public List<OnmsApplication> getApplications()

getApplications

Returns:
a List object.

getLocations

public List<OnmsMonitoringLocationDefinition> getLocations()

getLocations

Returns:
a List object.

getChosenApplication

public OnmsApplication getChosenApplication()

getChosenApplication

Returns:
a OnmsApplication object.

getChosenApplicationMemberServices

public Collection<OnmsMonitoredService> getChosenApplicationMemberServices()

getChosenApplicationMemberServices

Returns:
a Collection object.

getChosenLocation

public OnmsMonitoringLocationDefinition getChosenLocation()

getChosenLocation

Returns:
a OnmsMonitoringLocationDefinition object.

getErrors

public List<String> getErrors()

getErrors

Returns:
a List object.

getChosenPeriod

public RelativeTimePeriod getChosenPeriod()

getChosenPeriod

Returns:
a RelativeTimePeriod object.

getPeriods

public List<RelativeTimePeriod> getPeriods()

getPeriods

Returns:
a List object.

getChosenMonitor

public OnmsLocationMonitor getChosenMonitor()

getChosenMonitor

Returns:
a OnmsLocationMonitor object.

getMonitors

public List<OnmsLocationMonitor> getMonitors()

getMonitors

Returns:
a List object.

getServiceGraphs

public SortedSet<DistributedStatusHistoryModel.ServiceGraph> getServiceGraphs()

getServiceGraphs

Returns:
a SortedSet object.

setServiceGraphs

public void setServiceGraphs(SortedSet<DistributedStatusHistoryModel.ServiceGraph> serviceGraphs)

setServiceGraphs

Parameters:
serviceGraphs - a SortedSet object.


Copyright © 2011. All Rights Reserved.