Interface Documentation


  • @Immutable
    public interface Documentation
    Represents documentation for a content object in Nessie.
    • Method Detail

      • builder

        static org.projectnessie.model.ImmutableDocumentation.Builder builder()
      • getMimeType

        @NotNull
        @NotNull
        @Parameter(order=1)
        @NotNull @NotNull java.lang.String getMimeType()
        Mime type of the documentation.

        Clients must interpret this value and must not assume a specific mime type.

      • getText

        @NotNull
        @NotNull
        @Parameter(order=2)
        @NotNull @NotNull java.lang.String getText()
        Documentation text, format according to getMimeType().
      • of

        static Documentation of​(java.lang.String mimeType,
                                java.lang.String text)