Class LaunchGenerator
java.lang.Object
org.jdrupes.builder.eclipse.LaunchGenerator
The Class LaunchGenerator.
-
Constructor Summary
ConstructorsConstructorDescriptionLaunchGenerator(EclipseConfigurator configurator) Initializes a new launch generator. -
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentgenerateLaunchConfiguration(Document doc, EclipseLauncherRequest request) Generates the launch configuration XML into the given document.protected voidmergeSettings(Document target, Document source) Updates the classpath and modulepath in the target document from a freshly generated source document.<T extends Resource>
Collection<T> provideLauncher(ResourceRequest<T> requested) Provide the launch configuration.
-
Constructor Details
-
LaunchGenerator
Initializes a new launch generator.- Parameters:
configurator- the eclipse configurator
-
-
Method Details
-
provideLauncher
Provide the launch configuration.- Type Parameters:
T- the generic type- Parameters:
requested- the requested- Returns:
- the collection
-
generateLaunchConfiguration
Generates the launch configuration XML into the given document.- Parameters:
doc- an empty document as starting pointrequest- the request- Returns:
- the generated document
-
mergeSettings
Updates the classpath and modulepath in the target document from a freshly generated source document.- Parameters:
target- the existing document to updatesource- the freshly generated document
-