Class WithAttachmentsContent


  • @Immutable
    public abstract class WithAttachmentsContent
    extends org.projectnessie.model.Content
    Content with on-reference state and mandatory global state.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.projectnessie.model.Content

        org.projectnessie.model.Content.Type
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.projectnessie.model.Content.Type WITH_ATTACHMENTS  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.lang.String getOnRef()  
      abstract java.util.List<org.projectnessie.versioned.ContentAttachment> getPerContent()  
      org.projectnessie.model.Content.Type getType()  
      static WithAttachmentsContent newWithAttachments​(java.util.List<org.projectnessie.versioned.ContentAttachment> perContent, java.lang.String onRef)  
      static WithAttachmentsContent withAttachments​(java.util.List<org.projectnessie.versioned.ContentAttachment> perContent, java.lang.String onRef, java.lang.String contentId)  
      • Methods inherited from class org.projectnessie.model.Content

        getId, unwrap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • WITH_ATTACHMENTS

        public static final org.projectnessie.model.Content.Type WITH_ATTACHMENTS
    • Constructor Detail

      • WithAttachmentsContent

        public WithAttachmentsContent()
    • 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:
        getType in class org.projectnessie.model.Content
      • getOnRef

        public abstract java.lang.String getOnRef()
      • getPerContent

        public abstract java.util.List<org.projectnessie.versioned.ContentAttachment> getPerContent()