Interface IAsyncServerDelegate


  • public interface IAsyncServerDelegate
    The mix-in interface of the server delegate to allow server delegate to add or remove modules asynchronously.
    See Also:
    ServerDelegate
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void scheduleModifyModules​(org.eclipse.wst.server.core.IModule[] add, org.eclipse.wst.server.core.IModule[] remove, org.eclipse.core.runtime.IProgressMonitor monitor)
      Schedules modules add or remove for the server.
    • Method Detail

      • scheduleModifyModules

        void scheduleModifyModules​(org.eclipse.wst.server.core.IModule[] add,
                                   org.eclipse.wst.server.core.IModule[] remove,
                                   org.eclipse.core.runtime.IProgressMonitor monitor)
                            throws org.eclipse.core.runtime.CoreException
        Schedules modules add or remove for the server.
        Parameters:
        add - a possibly-empty list of modules to add or null if none
        remove - a possibly-empty list of modules to remove or null if none
        monitor - a progress monitor or null if progress reporting and cancellation are not desired
        Throws:
        org.eclipse.core.runtime.CoreException - if the changes are not allowed or could not be processed