Interface Check


  • @Immutable
    public interface Check
    Describes a check operation.
    • Method Detail

      • ref

        @Nullable
        @Nullable
        @Parameter(order=2)
        org.projectnessie.versioned.NamedRef ref()
      • key

        @Nullable
        @Nullable
        @Parameter(order=3)
        org.projectnessie.model.ContentKey key()
      • contentId

        @Nullable
        @Nullable
        @Parameter(order=4)
        java.lang.String contentId()
      • contentType

        @Nullable
        @Nullable
        @Parameter(order=5)
        org.projectnessie.model.Content.Type contentType()
      • check

        static Check check​(Check.CheckType type,
                           @Nullable @Nullable
                           org.projectnessie.versioned.NamedRef ref)
      • check

        static Check check​(Check.CheckType type,
                           @Nullable @Nullable
                           org.projectnessie.versioned.NamedRef ref,
                           @Nullable @Nullable
                           org.projectnessie.model.ContentKey key,
                           @Nullable @Nullable
                           java.lang.String contentId)
      • check

        static Check check​(Check.CheckType type,
                           @Nullable @Nullable
                           org.projectnessie.versioned.NamedRef ref,
                           @Nullable @Nullable
                           org.projectnessie.model.ContentKey key,
                           @Nullable @Nullable
                           java.lang.String contentId,
                           @Nullable @Nullable
                           org.projectnessie.model.Content.Type contentType)
      • builder

        static org.projectnessie.services.authz.ImmutableCheck.Builder builder​(Check.CheckType type)
      • canViewReference

        static Check canViewReference​(org.projectnessie.versioned.NamedRef ref)
      • canCreateReference

        static Check canCreateReference​(org.projectnessie.versioned.NamedRef ref)
      • canAssignRefToHash

        static Check canAssignRefToHash​(org.projectnessie.versioned.NamedRef ref)
      • canDeleteReference

        static Check canDeleteReference​(org.projectnessie.versioned.NamedRef ref)
      • canReadEntries

        static Check canReadEntries​(org.projectnessie.versioned.NamedRef ref)
      • canReadContentKey

        static Check canReadContentKey​(org.projectnessie.versioned.NamedRef ref,
                                       org.projectnessie.model.ContentKey key,
                                       java.lang.String contentId)
      • canListCommitLog

        static Check canListCommitLog​(org.projectnessie.versioned.NamedRef ref)
      • canCommitChangeAgainstReference

        static Check canCommitChangeAgainstReference​(org.projectnessie.versioned.NamedRef ref)
      • canReadEntityValue

        static Check canReadEntityValue​(org.projectnessie.versioned.NamedRef ref,
                                        org.projectnessie.model.ContentKey key,
                                        java.lang.String contentId)
      • canUpdateEntity

        static Check canUpdateEntity​(org.projectnessie.versioned.NamedRef ref,
                                     org.projectnessie.model.ContentKey key,
                                     java.lang.String contentId,
                                     org.projectnessie.model.Content.Type contentType)
      • canDeleteEntity

        static Check canDeleteEntity​(org.projectnessie.versioned.NamedRef ref,
                                     org.projectnessie.model.ContentKey key,
                                     java.lang.String contentId)
      • canViewRefLog

        static Check canViewRefLog()