Class EclipseHost

java.lang.Object
org.eclipse.epsilon.workflow.tasks.hosts.EclipseHost
All Implemented Interfaces:
Host

public class EclipseHost extends Object implements Host
  • Constructor Details

    • EclipseHost

      public EclipseHost()
  • Method Details

    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface Host
    • addNativeTypeDelegates

      public void addNativeTypeDelegates(IEolModule module)
      Specified by:
      addNativeTypeDelegates in interface Host
    • addOperationContributors

      public void addOperationContributors(IEolModule module)
      Description copied from interface: Host
      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.

      Specified by:
      addOperationContributors in interface Host
    • addStopCapabilities

      public void addStopCapabilities(org.apache.tools.ant.Project project, IEolModule module)
      Specified by:
      addStopCapabilities in interface Host
    • initialise

      public void initialise()
      Specified by:
      initialise in interface Host
    • debug

      public Object debug(IEolModule module, File file, DebugServerSession debugSession) throws Exception
      Specified by:
      debug in interface Host
      Throws:
      Exception
    • supportsDebugging

      public boolean supportsDebugging()
      Specified by:
      supportsDebugging in interface Host
    • configureUserInput

      public void configureUserInput(IEolModule module, boolean isGui)
      Specified by:
      configureUserInput in interface Host
    • createModel

      public IModel createModel(String type) throws org.apache.tools.ant.BuildException
      Specified by:
      createModel in interface Host
      Throws:
      org.apache.tools.ant.BuildException
    • getExtensionsOfType

      public <T> List<T> getExtensionsOfType(Class<T> klazz) throws Exception
      Specified by:
      getExtensionsOfType in interface Host
      Throws:
      Exception
    • setDebugPort

      public void setDebugPort(int port)
      Specified by:
      setDebugPort in interface Host