Package org.apache.uima.ep_launcher
Class AnalysisEngineLaunchConfigurationDelegate
java.lang.Object
org.eclipse.debug.core.model.LaunchConfigurationDelegate
org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
org.eclipse.jdt.launching.JavaLaunchDelegate
org.apache.uima.ep_launcher.AnalysisEngineLaunchConfigurationDelegate
- All Implemented Interfaces:
org.eclipse.debug.core.IDebugEventSetListener
,org.eclipse.debug.core.model.ILaunchConfigurationDelegate
,org.eclipse.debug.core.model.ILaunchConfigurationDelegate2
public class AnalysisEngineLaunchConfigurationDelegate
extends org.eclipse.jdt.launching.JavaLaunchDelegate
This delegate is responsible to to configure the VM and to create command line args which will be
passed to the
RemoteLauncher
s main method.-
Field Summary
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getClasspath
(org.eclipse.debug.core.ILaunchConfiguration configuration) Adds the launcher and uima core jar to the class path, depending on normal mode or PDE development mode.getMainTypeName
(org.eclipse.debug.core.ILaunchConfiguration configuration) getProgramArguments
(org.eclipse.debug.core.ILaunchConfiguration configuration) void
launch
(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor) Methods inherited from class org.eclipse.jdt.launching.JavaLaunchDelegate
showCommandLine
Methods inherited from class org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
abort, allowAdvancedSourcelookup, getBootpath, getBootpathExt, getBreakpoints, getBuildOrder, getClasspathAndModulepath, getDefaultWorkingDirectory, getEnvironment, getJavaLibraryPath, getJavaProject, getJavaProjectName, getLaunch, getLaunchManager, getModuleCLIOptions, getProjectsForProblemSearch, getVMArguments, getVMArguments, getVMConnectorId, getVMInstall, getVMInstallName, getVMInstallType, getVMInstallTypeId, getVMRunner, getVMSpecificAttributesMap, getWorkingDirectory, getWorkingDirectoryPath, handleDebugEvents, isAllowTerminate, isLaunchProblem, isStopInMain, preLaunchCheck, prepareStopInMain, setDefaultSourceLocator, supportsModule, supportsPreviewFeatures, verifyJavaProject, verifyMainTypeName, verifyVMInstall, verifyWorkingDirectory
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, saveBeforeLaunch
-
Constructor Details
-
AnalysisEngineLaunchConfigurationDelegate
public AnalysisEngineLaunchConfigurationDelegate()
-
-
Method Details
-
getMainTypeName
public String getMainTypeName(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException - Overrides:
getMainTypeName
in classorg.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
- Throws:
org.eclipse.core.runtime.CoreException
-
getProgramArguments
public String getProgramArguments(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException - Overrides:
getProgramArguments
in classorg.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
- Throws:
org.eclipse.core.runtime.CoreException
-
getClasspath
public String[] getClasspath(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException Adds the launcher and uima core jar to the class path, depending on normal mode or PDE development mode.- Overrides:
getClasspath
in classorg.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
- Throws:
org.eclipse.core.runtime.CoreException
-
launch
public void launch(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
launch
in interfaceorg.eclipse.debug.core.model.ILaunchConfigurationDelegate
- Overrides:
launch
in classorg.eclipse.jdt.launching.JavaLaunchDelegate
- Throws:
org.eclipse.core.runtime.CoreException
-