@Test public void testSatisfyWaypoints() { sut = new WaypointConstraint(DID1, DID2, DID3); assertThat(sut.validate(path, resourceContext), is(true)); }
@Override public boolean validate(Path path, ResourceContext context) { return validate(path); }
WaypointConstraint implements Constraint { @Override public boolean validate(Path path, ResourceContext context) { return validate(path); } }
WaypointConstraint implements Constraint { @Override public boolean validate(Path path, ResourceContext context) { return validate(path); } WaypointConstraint(DeviceId... waypoints); private  WaypointConstraint(); }
WaypointConstraint implements Constraint { @Override public boolean validate(Path path, ResourceContext context) { return validate(path); } WaypointConstraint(DeviceId... waypoints); private  WaypointConstraint(); List<DeviceId> waypoints(); @Override double cost(Link link, ResourceContext context); @Override boolean validate(Path path, ResourceContext context); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
WaypointConstraint implements Constraint { @Override public boolean validate(Path path, ResourceContext context) { return validate(path); } WaypointConstraint(DeviceId... waypoints); private  WaypointConstraint(); List<DeviceId> waypoints(); @Override double cost(Link link, ResourceContext context); @Override boolean validate(Path path, ResourceContext context); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }