class VehicleFilter implements Predicate<Vehicle> {

  @Override
  public boolean test(Vehicle vehicle) {
    boolean accept = true;
    if (procState != null && !procState.equals(vehicle.getProcState().name())) {
      accept = false;
    }
    return accept;
  }

  public  VehicleFilter(String procState);

}