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

public class EmbeddedFile extends Object implements Serializable
Represents an embedded file within a connector.
See Also:
  • Constructor Details

    • EmbeddedFile

      public EmbeddedFile()
  • Method Details

    • copy

      public EmbeddedFile copy()
      Creates a copy of the current embedded file.
      Returns:
      A new instance of EmbeddedFile with the same content, type, and reference.
    • description

      public String description()
      Gets a string containing the embedded file reference.
      Returns:
      A string representing the reference to the embedded file.
    • update

      public void update(UnaryOperator<String> updater)
      Updates the content and type of the embedded file using the provided updater.
      Parameters:
      updater - The unary operator to apply to the content and type.