Interface IModelApiTaskN<T>

  • 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 IModelApiTaskDescription to provide a localized name of the task.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T execute​(List<org.eclipse.emf.ecore.EObject> objects, org.eclipse.core.runtime.IProgressMonitor monitor)
      Executes the task.
    • Method Detail

      • execute

        T execute​(List<org.eclipse.emf.ecore.EObject> objects,
                  org.eclipse.core.runtime.IProgressMonitor monitor)
        Executes the task.
        Parameters:
        objects - a collection of objects to manipulate within the task, cannot be null.
        monitor - the progress monitor, cannot be null.
        Returns:
        the result of the execution in accordance with its logic.