All Implemented Interfaces:
Serializable

public class SnmpTableSource extends SnmpSource
Represents a source task for SNMP-based tables.
See Also:
  • Constructor Details

    • SnmpTableSource

      public SnmpTableSource(String type, List<Compute> computes, boolean forceSerialization, String oid, @NonNull @NonNull String selectColumns, String key, ExecuteForEachEntryOf executeForEachEntryOf)
      Constructs a new SnmpTableSource instance with the provided attributes.
      Parameters:
      type - the type of the source
      computes - the list of compute operations to be applied
      forceSerialization - flag indicating whether serialization should be forced
      oid - the SNMP OID to retrieve data
      selectColumns - the columns to select from the SNMP table
      key - the key associated with the source
      executeForEachEntryOf - the execute-for-each-entry-of information
  • Method Details

    • copy

      public SnmpTableSource copy()
      Copy the current instance
      Specified by:
      copy in class Source
      Returns:
      new SnmpTableSource instance
    • toString

      public String toString()
      Overrides:
      toString in class SnmpSource
    • update

      public void update(UnaryOperator<String> updater)
      Description copied from class: Source
      Updates the source based on the provided updater function.
      Overrides:
      update in class SnmpSource
      Parameters:
      updater - The updater function to modify the source.
    • accept

      public SourceTable accept(ISourceProcessor sourceProcessor)
      Description copied from class: Source
      Accepts a source processor to perform processing on the source.
      Specified by:
      accept in class Source
      Parameters:
      sourceProcessor - The source processor to accept.
      Returns:
      A SourceTable representing the processed source.