Package com.wavefront.agent.preprocessor
Class InteractivePreprocessorTester
- java.lang.Object
-
- com.wavefront.agent.preprocessor.InteractivePreprocessorTester
-
- All Implemented Interfaces:
InteractiveTester
public class InteractivePreprocessorTester extends Object implements InteractiveTester
Interactive tester for preprocessor rules.- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description InteractivePreprocessorTester(Supplier<ReportableEntityPreprocessor> preprocessorSupplier, com.wavefront.data.ReportableEntityType entityType, String port, List<String> customSourceTags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
interactiveTest()
Read line from stdin and process it.
-
-
-
Constructor Detail
-
InteractivePreprocessorTester
public InteractivePreprocessorTester(Supplier<ReportableEntityPreprocessor> preprocessorSupplier, com.wavefront.data.ReportableEntityType entityType, String port, List<String> customSourceTags)
- Parameters:
preprocessorSupplier
- supplier forReportableEntityPreprocessor
entityType
- entity type (to determine whether it's a span or a point)port
- handler keycustomSourceTags
- list of custom source tags (for parsing)
-
-
Method Detail
-
interactiveTest
public boolean interactiveTest()
Description copied from interface:InteractiveTester
Read line from stdin and process it.- Specified by:
interactiveTest
in interfaceInteractiveTester
- Returns:
- true if there's more input to process
-
-