public class SpacePermissionRemoveEvent extends SpacePermissionChangeEvent
permissions
source
Constructor and Description |
---|
SpacePermissionRemoveEvent(Object src,
SpacePermission permission,
Space space)
We keep a reference to the space separately so that when the permission is deleted, event handlers are still aware
of which space the event is referring to.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable Object o)
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.
|
Space |
getSpace() |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
getPermissions, toString
getSource
public SpacePermissionRemoveEvent(Object src, SpacePermission permission, Space space)
public Space getSpace()
public boolean equals(@Nullable Object o)
ConfluenceEvent
Subclasses must override this to compare their own fields.
equals
in class SpacePermissionChangeEvent
o
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class SpacePermissionChangeEvent
Event.hashCode()
Copyright © 2003–2019 Atlassian. All rights reserved.