All Known Implementing Classes:
DefaultHost, EclipseHost

public interface Host
  • Method Details

    • isRunning

      boolean isRunning()
    • initialise

      void initialise()
    • addNativeTypeDelegates

      void addNativeTypeDelegates(IEolModule module)
    • addOperationContributors

      default void addOperationContributors(IEolModule module)
      Registers any OperationContributors contributed through the org.eclipse.epsilon.common.dt.operationContributor extension point with the operation contributor registry of the given module's context.

      The default implementation is a no-op, so that hosts running outside an Eclipse Platform (e.g. the DefaultHost used from plain JUnit tests) are unaffected. The EclipseHost overrides this to discover the extension point when running inside a headless or interactive Eclipse Platform, mirroring the behaviour that the interactive Development Tools launch path already provides.

      Since:
      2.7
    • addStopCapabilities

      void addStopCapabilities(org.apache.tools.ant.Project project, IEolModule module)
    • supportsDebugging

      boolean supportsDebugging()
    • debug

      Object debug(IEolModule module, File file, DebugServerSession debugSession) throws Exception
      Throws:
      Exception
    • configureUserInput

      void configureUserInput(IEolModule module, boolean isGui)
    • createModel

      IModel createModel(String type) throws org.apache.tools.ant.BuildException
      Throws:
      org.apache.tools.ant.BuildException
    • getExtensionsOfType

      <T> List<T> getExtensionsOfType(Class<T> klazz) throws Exception
      Throws:
      Exception
    • setDebugPort

      default void setDebugPort(int port)