Class GroupJoinFailedEvent
java.lang.Object
org.drasyl.plugin.groups.client.event.GroupJoinFailedEvent
- All Implemented Interfaces:
Event
,GroupEvent
An event that signals, that a joining a specific group has failed.
This is an immutable object.
-
Constructor Summary
ConstructorsConstructorDescriptionGroupJoinFailedEvent
(Group group, GroupJoinFailedMessage.Error reason, Runnable reJoin) -
Method Summary
-
Constructor Details
-
GroupJoinFailedEvent
-
-
Method Details
-
getReason
-
getGroup
- Specified by:
getGroup
in interfaceGroupEvent
-
getReJoin
If this runnable is invoked the plugin tries to re-join thegroup
.- Returns:
- runnable to re-join group
-
hashCode
public int hashCode() -
equals
-
toString
-