Package org.opennms.netmgt.bsm.service
Interface BusinessServiceManager
-
- All Superinterfaces:
NodeManager
- All Known Implementing Classes:
BusinessServiceManagerImpl
public interface BusinessServiceManager extends NodeManager
-
-
Method Summary
-
Methods inherited from interface org.opennms.netmgt.bsm.service.NodeManager
getNodeById
-
-
-
-
Method Detail
-
getAllBusinessServices
List<BusinessService> getAllBusinessServices()
-
search
List<BusinessService> search(BusinessServiceSearchCriteria businessServiceSearchCriteria)
-
findMatching
List<BusinessService> findMatching(Criteria criteria)
-
countMatching
int countMatching(Criteria criteria)
-
createBusinessService
BusinessService createBusinessService()
-
deleteEdge
boolean deleteEdge(BusinessService service, Edge edge)
-
saveBusinessService
void saveBusinessService(BusinessService newObject)
-
deleteBusinessService
void deleteBusinessService(BusinessService service)
-
getBusinessServiceById
BusinessService getBusinessServiceById(Long id)
-
getFeasibleChildServices
Set<BusinessService> getFeasibleChildServices(BusinessService service)
-
getOperationalStatus
Status getOperationalStatus(BusinessService service)
-
getAllApplications
List<Application> getAllApplications()
-
getApplicationById
Application getApplicationById(Integer id)
-
triggerDaemonReload
void triggerDaemonReload()
Triggers a reload of the Business Service Daemon.
-
getParentServices
Set<BusinessService> getParentServices(Long id)
-
setChildEdges
void setChildEdges(BusinessService parentService, Set<ChildEdge> childEdges)
-
addChildEdge
boolean addChildEdge(BusinessService parent, BusinessService child, MapFunction mapFunction, int weight)
-
setIpServiceEdges
void setIpServiceEdges(BusinessService businessService, Set<IpServiceEdge> ipServiceEdges)
-
addIpServiceEdge
boolean addIpServiceEdge(BusinessService businessService, IpService ipService, MapFunction mapFunction, int weight)
-
addIpServiceEdge
boolean addIpServiceEdge(BusinessService businessService, IpService ipService, MapFunction mapFunction, int weight, String friendlyName)
-
setApplicationEdges
void setApplicationEdges(BusinessService businessService, Set<ApplicationEdge> applicationEdges)
-
addApplicationEdge
boolean addApplicationEdge(BusinessService businessService, Application application, MapFunction mapFunction, int weight)
-
addReductionKeyEdge
boolean addReductionKeyEdge(BusinessService businessService, String reductionKey, MapFunction mapFunction, int weight)
-
addReductionKeyEdge
boolean addReductionKeyEdge(BusinessService businessService, String reductionKey, MapFunction mapFunction, int weight, String friendlyName)
-
setReductionKeyEdges
void setReductionKeyEdges(BusinessService businessService, Set<ReductionKeyEdge> reductionKeyEdges)
-
removeEdge
void removeEdge(BusinessService businessService, Edge edge)
-
getGraph
BusinessServiceGraph getGraph(List<BusinessService> businessServices)
-
getGraph
BusinessServiceGraph getGraph()
This returns the actual graph of the underlyingBusinessServiceStateMachine
. Please DO NOT MODIFY any object in that graph.- Returns:
- the actual graph of the underlying
BusinessServiceStateMachine
. DO NOT MODIFY!
-
getStateMachine
BusinessServiceStateMachine getStateMachine()
-
setMapFunction
void setMapFunction(Edge edge, MapFunction mapFunction)
-
setReduceFunction
void setReduceFunction(BusinessService businessService, ReductionFunction reductionFunction)
-
-