public class SpacePermissionChangeEvent extends SpacePermissionEvent
Modifier and Type | Field and Description |
---|---|
protected Iterable<SpacePermission> |
permissions |
source
Constructor and Description |
---|
SpacePermissionChangeEvent(Object src,
Iterable<SpacePermission> permissions) |
SpacePermissionChangeEvent(Object src,
SpacePermission permission) |
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.
|
Iterable<SpacePermission> |
getPermissions() |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
String |
toString() |
getSource
protected final Iterable<SpacePermission> permissions
public SpacePermissionChangeEvent(Object src, SpacePermission permission)
public SpacePermissionChangeEvent(Object src, Iterable<SpacePermission> permissions)
public Iterable<SpacePermission> getPermissions()
public boolean equals(@Nullable Object o)
ConfluenceEvent
Subclasses must override this to compare their own fields.
equals
in class ConfluenceEvent
o
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class ConfluenceEvent
Event.hashCode()
public String toString()
toString
in class EventObject
Copyright © 2003–2020 Atlassian. All rights reserved.