public enum TaskAlertService extends Enum<TaskAlertService>
| Enum Constant and Description |
|---|
INSNACE |
| Modifier and Type | Method and Description |
|---|---|
Optional<Timestamp> |
getReferenceDateAlert(int nIdTask,
fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory,
javax.servlet.http.HttpServletRequest request)
Get the alert reference date
|
void |
sendAlert()
Send gru alert service
|
void |
updateResourceQueue(fr.paris.lutece.portal.business.event.ResourceEvent event)
Update resource queue when an event is triggered
|
static TaskAlertService |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskAlertService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskAlertService INSNACE
public static TaskAlertService[] values()
for (TaskAlertService c : TaskAlertService.values()) System.out.println(c);
public static TaskAlertService valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void sendAlert()
public Optional<Timestamp> getReferenceDateAlert(int nIdTask, fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory, javax.servlet.http.HttpServletRequest request)
nIdTask - the id taskresourceHistory - the resource historyrequest - the requestpublic void updateResourceQueue(fr.paris.lutece.portal.business.event.ResourceEvent event)
event - the resource event (event of the Listener)Copyright © 2023 City of Paris. All rights reserved.