public final class SlotEditTask extends TimerTask implements Serializable
| Constructor and Description |
|---|
SlotEditTask() |
| Modifier and Type | Method and Description |
|---|---|
int |
getIdSlot()
Get the id of the slot
|
int |
getNbPlacesTaken()
Get the number of places potentially taken
|
boolean |
isCancelled()
If the task is cancelled
|
void |
run() |
void |
setIdSlot(int nIdSlot)
Set the id of the slot
|
void |
setIsCancelled(boolean isCancelled)
set If the task is cancelled
|
void |
setNbPlacesTaken(int nbPlacesTaken)
Set the number of places potentially taken
|
cancel, scheduledExecutionTimepublic int getNbPlacesTaken()
public void setNbPlacesTaken(int nbPlacesTaken)
nbPlacesTaken - public int getIdSlot()
public void setIdSlot(int nIdSlot)
nIdSlot - the id of the slotpublic boolean isCancelled()
public void setIsCancelled(boolean isCancelled)
isCancelled - Copyright © 2021 City of Paris. All rights reserved.