Package org.opennms.netmgt.bsm.mock
Class MockBusinessServiceHierarchy
- java.lang.Object
-
- org.opennms.netmgt.bsm.mock.MockBusinessServiceHierarchy
-
public class MockBusinessServiceHierarchy extends java.lang.Object
Fluent API for building hierarchies.- Author:
- jwhite
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MockBusinessServiceHierarchy.Builder
static class
MockBusinessServiceHierarchy.HierarchyBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MockBusinessServiceHierarchy.HierarchyBuilder
builder()
BusinessService
getBusinessServiceById(long id)
java.util.List<BusinessService>
getBusinessServices()
Edge
getEdgeByReductionKey(java.lang.String reductionKey)
-
-
-
Method Detail
-
builder
public static MockBusinessServiceHierarchy.HierarchyBuilder builder()
-
getBusinessServices
public java.util.List<BusinessService> getBusinessServices()
-
getBusinessServiceById
public BusinessService getBusinessServiceById(long id)
-
getEdgeByReductionKey
public Edge getEdgeByReductionKey(java.lang.String reductionKey)
-
-