public class ArchiveProcessInstancesHandler extends java.lang.Object implements SProcessInstanceHandler<SUpdateEvent>
| Constructor and Description |
|---|
ArchiveProcessInstancesHandler(long tenantId) |
ArchiveProcessInstancesHandler(long tenantId,
java.lang.String identifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(SUpdateEvent event)
Performs the action corresponding to the given Event
|
java.lang.String |
getIdentifier()
Returns a unique identifier for each instance of the Handler
|
boolean |
isInterested(SUpdateEvent event)
Precise if the current Handler is interested by the given event.
|
public ArchiveProcessInstancesHandler(long tenantId)
public ArchiveProcessInstancesHandler(long tenantId,
java.lang.String identifier)
public void execute(SUpdateEvent event) throws SHandlerExecutionException
SHandlerexecute in interface SHandler<SUpdateEvent>SHandlerExecutionExceptionpublic boolean isInterested(SUpdateEvent event)
SHandlerisInterested in interface SHandler<SUpdateEvent>public java.lang.String getIdentifier()
SHandlergetIdentifier in interface SHandler<SUpdateEvent>