java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.Connector
All Implemented Interfaces:
Serializable

public class Connector extends Object implements Serializable
Represents a connector with its configuration, metrics, monitors, and other settings.
See Also:
  • Constructor Details

    • Connector

      public Connector()
  • Method Details

    • getOrCreateConnectorIdentity

      public ConnectorIdentity getOrCreateConnectorIdentity()
      Get the connector identity and create it if it is not created yet.
      Returns:
      The connector identity.
    • getCompiledFilename

      public String getCompiledFilename()
      Get the compiled filename of the connector, if the compiled filename cannot be retrieved then the IllegalStateException is thrown
      Returns:
      String value
    • hasTag

      public boolean hasTag(@NonNull @NonNull String tag)
      Checks if a specified tag is present in the tags associated with the Connector.
      Parameters:
      tag - The tag to check for presence.
      Returns:
      true if the tag is present, false otherwise.