Class DefaultEclipseLauncherRequest
java.lang.Object
org.jdrupes.builder.core.DefaultResourceRequest<EclipseLauncher>
org.jdrupes.builder.eclipse.DefaultEclipseLauncherRequest
- All Implemented Interfaces:
Cloneable, ResourceRequest<EclipseLauncher>, EclipseLauncherRequest
public class DefaultEclipseLauncherRequest
extends DefaultResourceRequest<EclipseLauncher>
implements EclipseLauncherRequest
An implementation of
EclipseLauncherRequest.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInitializes a new default eclipse resource request. -
Method Summary
Modifier and TypeMethodDescriptionReturn the arguments to use in the launch configuration.clone()Creates a new request for a configuration with the given name.booleaninthashCode()Returns the main class.Return the VM arguments to use in the launch configuration.withArguments(String arguments) The arguments to use in the launch configuration.withMainClass(String mainClass) Set the main class for the launch configuration.withVmArguments(String vmArguments) The VM arguments to use in the launch configuration.Methods inherited from class DefaultResourceRequest
accepts, isFor, name, toRequestedString, toString, type, uses, using, withName
-
Constructor Details
-
DefaultEclipseLauncherRequest
protected DefaultEclipseLauncherRequest()Initializes a new default eclipse resource request.
-
-
Method Details
-
create
Creates a new request for a configuration with the given name. The request is created with intentIntent.Supplybecause this is the common usage.- Parameters:
name- the name- Returns:
- the default eclipse launcher request
-
clone
- Overrides:
clonein classDefaultResourceRequest<EclipseLauncher>
-
withMainClass
Set the main class for the launch configuration.- Parameters:
mainClass- the fully qualified main class name- Returns:
- the launcher for method chaining
-
withArguments
The arguments to use in the launch configuration.- Parameters:
arguments- the program arguments- Returns:
- the launcher for method chaining
-
withVmArguments
The VM arguments to use in the launch configuration.- Parameters:
vmArguments- the VM arguments- Returns:
- the launcher for method chaining
-
mainClass
Description copied from interface:EclipseLauncherRequestReturns the main class.- Specified by:
mainClassin interfaceEclipseLauncherRequest- Returns:
- the string
-
arguments
Description copied from interface:EclipseLauncherRequestReturn the arguments to use in the launch configuration.- Specified by:
argumentsin interfaceEclipseLauncherRequest- Returns:
- the string
-
vmArguments
Description copied from interface:EclipseLauncherRequestReturn the VM arguments to use in the launch configuration.- Specified by:
vmArgumentsin interfaceEclipseLauncherRequest- Returns:
- the string
-
hashCode
- Overrides:
hashCodein classDefaultResourceRequest<EclipseLauncher>
-
equals
- Overrides:
equalsin classDefaultResourceRequest<EclipseLauncher>
-