Adds a new road closure to the WME data model.
The description of the road closure.
The end date of the road closure as a Unix timestamp (milliseconds).
A flag to indicate the whether to close the starting node.
isForward = true
(A -> B) means fromNodeClosed = true
will close node A,
isForward = false
(B -> A) means fromNodeClosed = true
will close node B,
A flag to indicate the closure's direction on the segment.
isForward = true
means that the closure is on segment from A -> B direction,
isForward = false
means that the closure is on segment from B -> A direction.
A flag to indicate if the closure should be auto finished when traffic is detected in the road. When true, the closure will remain active until the end date, even if traffic is detected on the road.
The id of the segment that the closure is on.
The start date of the road closure as a Unix timestamp (milliseconds).
The id of the traffic event associated with the closure.
the created road closure.
an array of all the road closures in the WME data model
An id of the road closure to find.
road closure with id, or null if not found in the WME data model
Methods for dealing with RoadClosures.