Interface Attachment

    • Method Detail

      • setReceived

        void setReceived​(Instant received)
        Sets the time when the Attachment was received.
        Parameters:
        received - the time when the Attachment was received as Instant
      • setChannel

        void setChannel​(String channel)
        Sets the channel on which the Attachment was received.
        Parameters:
        channel - the channel on which the Attachment was received
      • getCustomAttributeMap

        Map<String,​String> getCustomAttributeMap()
        Returns the custom attributes of this Attachment.
        Returns:
        customAttributes as Map
      • setCustomAttributeMap

        void setCustomAttributeMap​(Map<String,​String> customAttributes)
        Sets the custom attribute Map of the Attachment.
        Parameters:
        customAttributes - a Map that contains the custom attributes of the Attachment as key, value pairs
      • copy

        Attachment copy()
        Duplicates this Attachment without the id and taskId.
        Specified by:
        copy in interface AttachmentSummary
        Returns:
        a copy of this Attachment