Package org.opennms.smoketest.telemetry
Class FlowTestBuilder
- java.lang.Object
-
- org.opennms.smoketest.telemetry.FlowTestBuilder
-
public class FlowTestBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description FlowTestBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowTester
build(InetSocketAddress elasticAddress)
FlowTestBuilder
verifyAfterSendingFlows(java.util.function.Consumer<FlowTester> after)
FlowTestBuilder
verifyBeforeSendingFlows(java.util.function.Consumer<FlowTester> before)
FlowTestBuilder
verifyOpennmsRestEndpoint(InetSocketAddress opennmsWebAddress)
FlowTestBuilder
withFlowPacket(FlowPacket packet, Sender sender)
FlowTestBuilder
withFlowPackets(List<FlowPacket> packets, Sender sender)
FlowTestBuilder
withFlowPackets(List<FlowTester.Delivery> deliveries)
FlowTestBuilder
withIpfixPacket(Sender sender)
FlowTestBuilder
withNetflow5Packet(Sender sender)
FlowTestBuilder
withNetflow9Packet(Sender sender)
FlowTestBuilder
withSFlowPacket(Sender sender)
-
-
-
Method Detail
-
withFlowPacket
public FlowTestBuilder withFlowPacket(FlowPacket packet, Sender sender)
-
withFlowPackets
public FlowTestBuilder withFlowPackets(List<FlowTester.Delivery> deliveries)
-
withFlowPackets
public FlowTestBuilder withFlowPackets(List<FlowPacket> packets, Sender sender)
-
verifyOpennmsRestEndpoint
public FlowTestBuilder verifyOpennmsRestEndpoint(InetSocketAddress opennmsWebAddress)
-
withNetflow5Packet
public FlowTestBuilder withNetflow5Packet(Sender sender)
-
withNetflow9Packet
public FlowTestBuilder withNetflow9Packet(Sender sender)
-
withIpfixPacket
public FlowTestBuilder withIpfixPacket(Sender sender)
-
withSFlowPacket
public FlowTestBuilder withSFlowPacket(Sender sender)
-
verifyBeforeSendingFlows
public FlowTestBuilder verifyBeforeSendingFlows(java.util.function.Consumer<FlowTester> before)
-
verifyAfterSendingFlows
public FlowTestBuilder verifyAfterSendingFlows(java.util.function.Consumer<FlowTester> after)
-
build
public FlowTester build(InetSocketAddress elasticAddress)
-
-