Class KeepOnlyMatchingLines
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Compute
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.AbstractMatchingLines
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.KeepOnlyMatchingLines
- All Implemented Interfaces:
Serializable
Represents a KeepOnlyMatchingLines computation task for monitoring.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKeepOnlyMatchingLines(String type, @NonNull Integer column, String regExp, String valueList) Construct a new instance of KeepOnlyMatchingLines. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IComputeProcessor computeProcessor) Accepts a compute processor for further processing.copy()Creates a copy of the current compute operation.toString()Returns a formatted string representation of the compute operation, indicating its type.Methods inherited from class org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.AbstractMatchingLines
update
-
Constructor Details
-
KeepOnlyMatchingLines
public KeepOnlyMatchingLines(String type, @NonNull @NonNull Integer column, String regExp, String valueList) Construct a new instance of KeepOnlyMatchingLines.- Parameters:
type- The type of the computation task.column- The column index used in the computation.regExp- The regular expression used for matching lines.valueList- The list of values used for matching lines.
-
-
Method Details
-
toString
Description copied from class:ComputeReturns a formatted string representation of the compute operation, indicating its type.- Overrides:
toStringin classAbstractMatchingLines- Returns:
- A string representation of the compute operation.
-
copy
Description copied from class:ComputeCreates a copy of the current compute operation. -
accept
Description copied from class:ComputeAccepts a compute processor for further processing.
-