Class WithAttachmentsContent
- java.lang.Object
-
- org.projectnessie.model.Content
-
- org.projectnessie.versioned.testworker.WithAttachmentsContent
-
@Immutable public abstract class WithAttachmentsContent extends org.projectnessie.model.ContentContent with on-reference state and mandatory global state.
-
-
Field Summary
Fields Modifier and Type Field Description static org.projectnessie.model.Content.TypeWITH_ATTACHMENTS
-
Constructor Summary
Constructors Constructor Description WithAttachmentsContent()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.StringgetOnRef()abstract java.util.List<org.projectnessie.versioned.ContentAttachment>getPerContent()org.projectnessie.model.Content.TypegetType()static WithAttachmentsContentnewWithAttachments(java.util.List<org.projectnessie.versioned.ContentAttachment> perContent, java.lang.String onRef)static WithAttachmentsContentwithAttachments(java.util.List<org.projectnessie.versioned.ContentAttachment> perContent, java.lang.String onRef, java.lang.String contentId)
-
-
-
Method Detail
-
withAttachments
public static WithAttachmentsContent withAttachments(java.util.List<org.projectnessie.versioned.ContentAttachment> perContent, java.lang.String onRef, java.lang.String contentId)
-
newWithAttachments
public static WithAttachmentsContent newWithAttachments(java.util.List<org.projectnessie.versioned.ContentAttachment> perContent, java.lang.String onRef)
-
getType
public org.projectnessie.model.Content.Type getType()
- Specified by:
getTypein classorg.projectnessie.model.Content
-
getOnRef
public abstract java.lang.String getOnRef()
-
getPerContent
public abstract java.util.List<org.projectnessie.versioned.ContentAttachment> getPerContent()
-
-