Package org.opennms.netmgt.bsm.test
Class BusinessServiceEntityBuilder
- java.lang.Object
-
- org.opennms.netmgt.bsm.test.BusinessServiceEntityBuilder
-
public class BusinessServiceEntityBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BusinessServiceEntityBuilder()
-
Method Summary
-
-
-
Method Detail
-
name
public BusinessServiceEntityBuilder name(java.lang.String name)
-
addAttribute
public BusinessServiceEntityBuilder addAttribute(java.lang.String key, java.lang.String value)
-
id
public BusinessServiceEntityBuilder id(java.lang.Long id)
-
toEntity
public BusinessServiceEntity toEntity()
-
addIpService
public BusinessServiceEntityBuilder addIpService(OnmsMonitoredService ipService, AbstractMapFunctionEntity mapFunctionEntity)
-
addIpService
public BusinessServiceEntityBuilder addIpService(OnmsMonitoredService ipService, AbstractMapFunctionEntity mapFunctionEntity, int weight)
-
addReductionKey
public BusinessServiceEntityBuilder addReductionKey(java.lang.String reductionKey, AbstractMapFunctionEntity mapFunctionEntity, java.lang.String friendlyName)
-
addReductionKey
public BusinessServiceEntityBuilder addReductionKey(java.lang.String reductionKey, AbstractMapFunctionEntity mapFunctionEntity)
-
addReductionKey
public BusinessServiceEntityBuilder addReductionKey(java.lang.String reductionKey, AbstractMapFunctionEntity mapFunctionEntity, int weight)
-
addReductionKey
public BusinessServiceEntityBuilder addReductionKey(java.lang.String reductionKey, AbstractMapFunctionEntity mapFunctionEntity, int weight, java.lang.String friendlyName)
-
addChildren
public BusinessServiceEntityBuilder addChildren(BusinessServiceEntity child, AbstractMapFunctionEntity mapFunctionEntity)
-
addChildren
public BusinessServiceEntityBuilder addChildren(BusinessServiceEntity child, AbstractMapFunctionEntity mapFunctionEntity, int weight)
-
reduceFunction
public BusinessServiceEntityBuilder reduceFunction(AbstractReductionFunctionEntity reductionFunction)
-
-