Class GroupJoinFailedEvent
java.lang.Object
org.drasyl.node.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.
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetGroup()If this runnable is invoked the plugin tries to re-join thegroup.inthashCode()static GroupJoinFailedEventof(Group group, GroupJoinFailedMessage.Error reason, Runnable reJoin) toString()
-
Method Details
-
getReason
-
getGroup
- Specified by:
getGroupin 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
-
of
public static GroupJoinFailedEvent of(Group group, GroupJoinFailedMessage.Error reason, Runnable reJoin) - Throws:
NullPointerException- ifgroup,reasonorreJoinisnull
-