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 TypeMethodDescriptionboolean
getGroup()
If this runnable is invoked the plugin tries to re-join thegroup
.int
hashCode()
static GroupJoinFailedEvent
of
(Group group, GroupJoinFailedMessage.Error reason, Runnable reJoin) toString()
-
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
-
of
public static GroupJoinFailedEvent of(Group group, GroupJoinFailedMessage.Error reason, Runnable reJoin) - Throws:
NullPointerException
- ifgroup
,reason
orreJoin
isnull
-