Class LaunchRuntimeInstallationProvider


  • public final class LaunchRuntimeInstallationProvider
    extends Object
    Provides default resolvable 1C:Enterprise platform installation to use.
    • Constructor Detail

      • LaunchRuntimeInstallationProvider

        public LaunchRuntimeInstallationProvider()
    • Method Detail

      • getInstallation

        public Optional<IResolvableRuntimeInstallation> getInstallation​(org.eclipse.debug.core.ILaunchConfiguration configuration)
                                                                 throws org.eclipse.core.runtime.CoreException
        Returns the default resolvable 1C:Enterprise platform installation to use to launch the provided launch configuration.
        Parameters:
        configuration - the launch configuration, cannot be null
        Returns:
        the default resolvable 1C:Enterprise platform installation to use to launch the provided launch configuration, never null
        Throws:
        org.eclipse.core.runtime.CoreException - if failed or configuration need to be updated
      • getInstallation

        public Optional<IResolvableRuntimeInstallation> getInstallation​(org.eclipse.core.resources.IProject project,
                                                                        IApplication application)
                                                                 throws org.eclipse.core.runtime.CoreException
        Returns the default resolvable 1C:Enterprise platform installation to use to launch the provided project and application.
        Parameters:
        project - the project, cannot be null
        application - the application, cannot be null
        Returns:
        the default resolvable 1C:Enterprise runtime installation to use for provided project and application
        Throws:
        org.eclipse.core.runtime.CoreException - if request failed