Package org.opennms.netmgt.bsm.mock
Class MockBusinessServiceHierarchy.HierarchyBuilder
- java.lang.Object
-
- org.opennms.netmgt.bsm.mock.MockBusinessServiceHierarchy.HierarchyBuilder
-
- All Implemented Interfaces:
MockBusinessServiceHierarchy.Builder
- Enclosing class:
- MockBusinessServiceHierarchy
public static class MockBusinessServiceHierarchy.HierarchyBuilder extends Object implements MockBusinessServiceHierarchy.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MockBusinessServiceHierarchy.HierarchyBuilder.BusinessServiceBuilder
-
Constructor Summary
Constructors Constructor Description HierarchyBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MockBusinessServiceHierarchy
build()
MockBusinessServiceHierarchy.HierarchyBuilder
commit()
MockBusinessServiceHierarchy.HierarchyBuilder.BusinessServiceBuilder
withBusinessService(long businessServiceId)
-
-
-
Method Detail
-
withBusinessService
public MockBusinessServiceHierarchy.HierarchyBuilder.BusinessServiceBuilder withBusinessService(long businessServiceId)
- Specified by:
withBusinessService
in interfaceMockBusinessServiceHierarchy.Builder
-
commit
public MockBusinessServiceHierarchy.HierarchyBuilder commit()
- Specified by:
commit
in interfaceMockBusinessServiceHierarchy.Builder
-
build
public MockBusinessServiceHierarchy build()
- Specified by:
build
in interfaceMockBusinessServiceHierarchy.Builder
-
-