Class PermissionEntry

    • Constructor Detail

      • PermissionEntry

        @DataBoundConstructor
        public PermissionEntry​(@NonNull
                               AuthorizationType type,
                               @NonNull
                               String sid)
    • Method Detail

      • getSid

        public String getSid()
      • isApplicable

        protected boolean isApplicable​(boolean principal)
        Utility method checking whether this entry applies based on whether we're looking for a principal.
      • fromString

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        @CheckForNull
        public static PermissionEntry fromString​(@NonNull
                                                 String permissionEntryString)
        Creates a PermissionEntry from a string.
        Parameters:
        permissionEntryString - String from which to create the entry
        Returns:
        the PermissinoEntry
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object