@Beta public final class WaypointConstraint extends PathViabilityConstraint
| Constructor and Description | 
|---|
WaypointConstraint(DeviceId... waypoints)
Creates a new waypoint constraint. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
int | 
hashCode()  | 
String | 
toString()  | 
boolean | 
validate(Path path,
        ResourceContext context)
Validates that the specified path satisfies the constraint. 
 | 
List<DeviceId> | 
waypoints()  | 
costpublic WaypointConstraint(DeviceId... waypoints)
waypoints - waypointspublic boolean validate(Path path, ResourceContext context)
Constraintpath - path to be validatedcontext - resource context for validating availability of resources