Class LaunchRuntimeInstallationProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.debug.core.launchconfigurations.LaunchRuntimeInstallationProvider
-
public final class LaunchRuntimeInstallationProvider extends Object
Provides default resolvable 1C:Enterprise platform installation to use.
-
-
Constructor Summary
Constructors Constructor Description LaunchRuntimeInstallationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<IResolvableRuntimeInstallation>
getInstallation(org.eclipse.core.resources.IProject project, IApplication application)
Returns the default resolvable 1C:Enterprise platform installation to use to launch the provided project and application.Optional<IResolvableRuntimeInstallation>
getInstallation(org.eclipse.debug.core.ILaunchConfiguration configuration)
Returns the default resolvable 1C:Enterprise platform installation to use to launch the provided launch configuration.
-
-
-
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 benull
- 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 benull
application
- the application, cannot benull
- Returns:
- the default resolvable 1C:Enterprise runtime installation to use for provided project and application
- Throws:
org.eclipse.core.runtime.CoreException
- if request failed
-
-