Package org.drasyl.event
Class NodeNormalTerminationEvent
- java.lang.Object
-
- org.drasyl.event.NodeNormalTerminationEvent
-
-
Constructor Summary
Constructors Constructor Description NodeNormalTerminationEvent(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 NodeNormalTerminationEvent
of(Node node)
String
toString()
-
-
-
Field Detail
-
node
protected final Node node
-
-
Constructor Detail
-
NodeNormalTerminationEvent
@Deprecated(since="0.4.0", forRemoval=true) public NodeNormalTerminationEvent(Node node)
Deprecated, for removal: This API element is subject to removal in a future version.Useof(Node)
instead.- Throws:
NullPointerException
- ifnode
isnull
-
-
Method Detail
-
of
public static NodeNormalTerminationEvent 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.
-
-