public class RecursiveSlotTask extends RecursiveTask<List<Slot>>
| Modifier and Type | Method and Description |
|---|---|
static List<Slot> |
buildListSlot(int nIdForm,
Map<WeekDefinition,ReservationRule> mapReservationRule,
LocalDate startingDate,
LocalDate endingDate,
int nNbPlaces,
boolean isAllOpenSlot)
Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slot
|
getRawResultadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkpublic static List<Slot> buildListSlot(int nIdForm, Map<WeekDefinition,ReservationRule> mapReservationRule, LocalDate startingDate, LocalDate endingDate, int nNbPlaces, boolean isAllOpenSlot)
nIdForm - the form IdmapReservationRule - the map of the rule week definitionstartingDate - the starting date of the periodendingDate - the ending date of the periodenNbPlaces - the number of place to takeisAllOpenSlot - build slots with the all open slotCopyright © 2021 City of Paris. All rights reserved.