public static class Pickup.Builder extends Service.Builder<Pickup>
capacity, capacityBuilder, coord, location, locationId, serviceTime, skillBuilder, skills, timeWindow, timeWindows| Modifier and Type | Method and Description |
|---|---|
Pickup |
build()
Builds Pickup.
|
static Pickup.Builder |
newInstance(String id)
Returns a new instance of builder that builds a pickup.
|
addAllRequiredSkills, addAllSizeDimensions, addRequiredSkill, addSizeDimension, addTimeWindow, addTimeWindow, setLocation, setName, setPriority, setServiceTime, setTimeWindow, setTypepublic static Pickup.Builder newInstance(String id)
id - the id of the pickuppublic Pickup build()
Pickup type is "pickup"
build in class Service.Builder<Pickup>IllegalArgumentException - if neither locationId nor coordinate has been setCopyright © 2013–2016. All rights reserved.