Interface PolymorphicVariableFormatterFactory

All Known Implementing Classes:
DefaultPolymorphicVariableFormats

public interface PolymorphicVariableFormatterFactory
Factory interface for creating polymorphic variable formatters.
Since:
2.0.0
Author:
Frank Fock
  • Method Details

    • registerFormatter

      boolean registerFormatter(String module, PolymorphicVariableFormatter formatter)
      Register the polymorphic variable formatter for a specific MIB module.
      Parameters:
      module - the MIB module name.
      formatter - the polymorphic variable formatter.
      Returns:
      true if the formatter was successfully registered, false otherwise.
    • unregisterFormatter

      boolean unregisterFormatter(String module, PolymorphicVariableFormatter formatter)
      Unregister the polymorphic variable formatter for a specific MIB module.
      Parameters:
      module - the MIB module name.
      formatter - the polymorphic variable formatter.
      Returns:
      true if the formatter was successfully unregistered, false otherwise.