Class WaypointGroupEvent
java.lang.Object
journeymap.api.v2.common.event.impl.JourneyMapEvent
journeymap.api.v2.common.event.common.WaypointGroupEvent
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class journeymap.api.v2.common.event.impl.JourneyMapEvent
timestamp -
Constructor Summary
ConstructorsConstructorDescriptionWaypointGroupEvent(WaypointGroup group, WaypointGroupEvent.Context context) WaypointGroupEvent(WaypointGroup group, WaypointGroupEvent.Context context, boolean deleteWaypoints) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf the delete group event is also deleting all the waypoints in the groupThe event context.getGroup()Gets the waypoint group that the event is handling.Methods inherited from class journeymap.api.v2.common.event.impl.JourneyMapEvent
cancel, isCancellable, isCancelled
-
Constructor Details
-
WaypointGroupEvent
-
WaypointGroupEvent
public WaypointGroupEvent(WaypointGroup group, WaypointGroupEvent.Context context, boolean deleteWaypoints)
-
-
Method Details
-
deleteWaypoints
public boolean deleteWaypoints()If the delete group event is also deleting all the waypoints in the group- Returns:
- - the boolean
-
getGroup
Gets the waypoint group that the event is handling.- Returns:
- - The waypoint group.
-
getContext
The event context.- Returns:
- - The context.
-