Interface DocumentMetadata

All Known Implementing Classes:
DocumentMetadataImpl

@ExperimentalApi("https://github.com/camunda/issues/issues/841") public interface DocumentMetadata
  • Method Details

    • getContentType

      String getContentType()
      Returns:
      the content type of the document, if present in the metadata
    • getExpiresAt

      OffsetDateTime getExpiresAt()
      Returns:
      the document expiration date, if present in the metadata
    • getSize

      Long getSize()
      Returns:
      the document size, if present in the metadata
    • getFileName

      String getFileName()
      Returns:
      the file name of the document, if present in the metadata
    • getProcessDefinitionId

      String getProcessDefinitionId()
      Returns:
      the process definition ID, if present in the metadata
    • getProcessInstanceKey

      Long getProcessInstanceKey()
      Returns:
      the process definition key, if present in the metadata
    • getCustomProperties

      Map<String,Object> getCustomProperties()
      Returns:
      the custom properties of the document, if present in the metadata