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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExcludeMatchingLines, KeepOnlyMatchingLines

public abstract class AbstractMatchingLines extends Compute
An abstract class extending Compute that represents operations involving matching lines based on specified criteria. It provides common fields such as column, regular expression, and value list, along with methods for updating and converting to a string.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a formatted string representation of the compute operation, indicating its type.
    void
    Updates the compute operation using the provided updater function.

    Methods inherited from class org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Compute

    accept, copy

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • toString

      public String toString()
      Description copied from class: Compute
      Returns a formatted string representation of the compute operation, indicating its type.
      Overrides:
      toString in class Compute
      Returns:
      A string representation of the compute operation.
    • update

      public void update(UnaryOperator<String> updater)
      Description copied from class: Compute
      Updates the compute operation using the provided updater function.
      Specified by:
      update in class Compute
      Parameters:
      updater - The unary operator to apply updates to the compute operation.