Package org.drasyl.event
Class NodeUpEvent
- java.lang.Object
-
- org.drasyl.event.NodeUpEvent
-
-
Constructor Summary
Constructors Constructor Description NodeUpEvent(Node node)
Deprecated, for removal: This API element is subject to removal in a future version.Useof(Node)
instead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Node
getNode()
Returns the node to which this event refers.int
hashCode()
static NodeUpEvent
of(Node node)
String
toString()
-
-
-
Field Detail
-
node
protected final Node node
-
-
Constructor Detail
-
NodeUpEvent
@Deprecated(since="0.4.0", forRemoval=true) public NodeUpEvent(Node node)
Deprecated, for removal: This API element is subject to removal in a future version.Useof(Node)
instead.
-
-
Method Detail
-
of
public static NodeUpEvent of(Node node)
- Throws:
NullPointerException
- ifnode
isnull
-
getNode
@NonNull public Node getNode()
Description copied from interface:NodeEvent
Returns the node to which this event refers.
-
-