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