All Implemented Interfaces:
Serializable

public class KeepOnlyMatchingLines extends AbstractMatchingLines
Represents a KeepOnlyMatchingLines computation task for monitoring.
See Also:
  • 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

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

      public KeepOnlyMatchingLines copy()
      Description copied from class: Compute
      Creates a copy of the current compute operation.
      Specified by:
      copy in class Compute
      Returns:
      A new instance of the concrete compute operation.
    • accept

      public void accept(IComputeProcessor computeProcessor)
      Description copied from class: Compute
      Accepts a compute processor for further processing.
      Specified by:
      accept in class Compute
      Parameters:
      computeProcessor - The compute processor to accept.