Class EmbeddedFile
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.common.EmbeddedFile
- All Implemented Interfaces:
Serializable
Represents an embedded file within a connector.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a copy of the current embedded file.Gets a string containing the embedded file reference.voidupdate(UnaryOperator<String> updater) Updates the content and type of the embedded file using the provided updater.
-
Constructor Details
-
EmbeddedFile
public EmbeddedFile()
-
-
Method Details
-
copy
Creates a copy of the current embedded file.- Returns:
- A new instance of
EmbeddedFilewith the same content, type, and reference.
-
description
Gets a string containing the embedded file reference.- Returns:
- A string representing the reference to the embedded file.
-
update
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.
-