- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IModelApiTaskN<T>The model API task for multiple objects manipulation.
This interface can be mixed with a
IModelApiTaskDescriptionto provide a localized name of the task.
T execute(List<org.eclipse.emf.ecore.EObject> objects, org.eclipse.core.runtime.IProgressMonitor monitor)Executes the task.
objects- a collection of objects to manipulate within the task, cannot be
monitor- the progress monitor, cannot be
- the result of the execution in accordance with its logic.