Package org.projectnessie.model
Interface IdentifiedContentKey
@Immutable
public interface IdentifiedContentKey
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic org.projectnessie.model.ImmutableIdentifiedContentKey.Builderbuilder()default voidcheck()@NotNull @NotNull ContentKey@NotNull @NotNull @Size @Size(min=1) List<IdentifiedContentKey.IdentifiedElement> elements()static IdentifiedContentKeyidentifiedContentKeyFromContent(ContentKey key, Content.Type type, String contentId, Function<List<String>, String> keyToContentId) static IdentifiedContentKeyidentifiedContentKeyFromContent(ContentKey key, Content content, Function<List<String>, String> keyToContentId) type()
-
Method Details
-
elements
@NotNull @NotNull @Size @Size(min=1) @NotNull @NotNull @Size @Size(min=1) List<IdentifiedContentKey.IdentifiedElement> elements() -
contentKey
-
lastElement
-
type
-
check
@Check default void check() -
builder
static org.projectnessie.model.ImmutableIdentifiedContentKey.Builder builder() -
identifiedContentKeyFromContent
static IdentifiedContentKey identifiedContentKeyFromContent(ContentKey key, Content content, Function<List<String>, String> keyToContentId) -
identifiedContentKeyFromContent
static IdentifiedContentKey identifiedContentKeyFromContent(ContentKey key, Content.Type type, String contentId, Function<List<String>, String> keyToContentId)
-