Class PermissionOverrideUpdateEvent

    • Constructor Detail

      • PermissionOverrideUpdateEvent

        public PermissionOverrideUpdateEvent​(@Nonnull
                                             JDA api,
                                             long responseNumber,
                                             @Nonnull
                                             GuildChannel channel,
                                             @Nonnull
                                             PermissionOverride override,
                                             long oldAllow,
                                             long oldDeny)
    • Method Detail

      • getOldAllowRaw

        public long getOldAllowRaw()
        The old allowed permissions as a raw bitmask.
        Returns:
        The old allowed permissions
      • getOldDenyRaw

        public long getOldDenyRaw()
        The old denied permissions as a raw bitmask.
        Returns:
        The old denied permissions
      • getOldInheritedRaw

        public long getOldInheritedRaw()
        The old inherited permissions as a raw bitmask.
        Returns:
        The old inherited permissions
      • getOldAllow

        @Nonnull
        public java.util.EnumSet<Permission> getOldAllow()
        The old allowed permissions
        Returns:
        The old allowed permissions
      • getOldDeny

        @Nonnull
        public java.util.EnumSet<Permission> getOldDeny()
        The old denied permissions
        Returns:
        The old denied permissions
      • getOldInherited

        @Nonnull
        public java.util.EnumSet<Permission> getOldInherited()
        The old inherited permissions
        Returns:
        The old inherited permissions