public interface Operation
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(Map<String,Object> entry)
Can the entry be handled by this operation
|
default void |
cleanup(ExecutionContext executionContext)
Cleanup after script completion
|
default void |
init(ExecutionContext executionContext)
Initialize the context, before executing any operation
|
void |
perform(Map<String,Object> entry,
ExecutionContext executionContext)
Execute the operation
|
boolean canHandle(Map<String,Object> entry)
entry - the entry to handlevoid perform(Map<String,Object> entry, ExecutionContext executionContext)
entry - operation entry paramsexecutionContext - contextdefault void init(ExecutionContext executionContext)
executionContext - contextdefault void cleanup(ExecutionContext executionContext)
executionContext - contextCopyright © 2004–2021 Jahia Solutions Group SA. All rights reserved.