Package org.projectnessie.model
Interface Documentation
-
@Immutable public interface DocumentationRepresents documentation for a content object in Nessie.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static org.projectnessie.model.ImmutableDocumentation.Builderbuilder()@NotNull @NotNull java.lang.StringgetMimeType()Mime type of the documentation.@NotNull @NotNull java.lang.StringgetText()Documentation text, format according togetMimeType().static Documentationof(java.lang.String mimeType, java.lang.String text)
-
-
-
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 togetMimeType().
-
of
static Documentation of(java.lang.String mimeType, java.lang.String text)
-
-