Class JavaApplicationLaunchConfig.Keys

java.lang.Object
net.neoforged.elc.configs.JavaApplicationLaunchConfig.Keys
Enclosing class:
JavaApplicationLaunchConfig

public static class JavaApplicationLaunchConfig.Keys extends Object
Holds keys relevant to serialization of JavaApplicationLaunchConfig.
  • Field Details

    • LAUNCHING_PLUGIN_ID

      public static final String LAUNCHING_PLUGIN_ID
      ID of the Eclipse JDT Launching plugin, which is prefixed to all keys of this launch configuration.
      See Also:
    • TYPE

      public static final String TYPE
      See Also:
    • ATTR_PROJECT_NAME

      public static final String ATTR_PROJECT_NAME
      Defines the Eclipse project name associated with this launch configuration. Must match the name of a project in the current Eclipse workspace.

      E-Attribute Type: String
      Required: True

      See Also:
    • ATTR_MAIN_TYPE_NAME

      public static final String ATTR_MAIN_TYPE_NAME
      Defines the fully-qualified class name of the main class to launch when starting the application.

      E-Attribute Type: String
      Required: True

      See Also:
    • ATTR_MODULE_NAME

      public static final String ATTR_MODULE_NAME
      Defines the module name for the main type to launch.

      E-Attribute Type: String
      Required: False
      Default Value: The value of ATTR_PROJECT_NAME.

      See Also:
    • ATTR_STOP_IN_MAIN

      public static final String ATTR_STOP_IN_MAIN
      If true, execution will stop in main when entered, awaiting a debugger command to continue execution.

      E-Attribute type: Boolean
      Required: False
      Default Value: False

      See Also:
    • ATTR_PROGRAM_ARGUMENTS

      public static final String ATTR_PROGRAM_ARGUMENTS
      Defines all arguments that will be passed to the program as they would appear on the command line.

      E-Attribute type: String
      Required: False
      Default Value: ""

      See Also:
    • ATTR_VM_ARGUMENTS

      public static final String ATTR_VM_ARGUMENTS
      Defines all arguments that will be passed to the JVM as they would appear on the command line.

      E-Attribute type: String
      Required: False
      Default Value: ""

      See Also:
    • ATTR_WORKING_DIRECTORY

      public static final String ATTR_WORKING_DIRECTORY
      Defines the working directory of the launch configuration. May be an absolute or relative file path, and may use eclipse variables in its definition.

      When specified as an absolute path, the path represents a path in the local file system. When specified as a full path, the path represents a workspace relative path. When unspecified, the directory of the Eclipse project specified by ATTR_PROJECT_NAME is used.

      E-Attribute type: String
      Required: False
      Default Value: "${workspace_loc:ProjectName}" where ProjectName is the value specified in by ATTR_PROJECT_NAME. This value corresponds to the directory of that project.

      See Also:
    • ATTR_JRE_CONTAINER_PATH

      public static final String ATTR_JRE_CONTAINER_PATH
      Defines the JRE to use when executing the application. The definition must take the following three-part format, each part separated by a forward slash:
      1. The header, which is "org.eclipse.jdt.launching.JRE_CONTAINER"
      2. The VM type, which is one of "org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType" or "org.eclipse.jdt.launching.EEVMType"
      3. The VM name, which is a user-specified value for a JVM in Eclipse, such as "jdk-17.0.5.8-hotspot"
      For example, a full declaration may look like "org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk-17.0.5.8-hotspot"

      E-Attribute type: String
      Required: False
      Default Value: The default JVM of the Eclipse project specified by ATTR_PROJECT_NAME.

      See Also:
    • ATTR_ENV_VARS

      public static final String ATTR_ENV_VARS
      Defines environment variables that will be set when executing the configuration.

      E-Attribute type: Map
      Required: False
      Default Value: Empty Map

      See Also:
    • ATTR_USE_ARGFILE

      public static final String ATTR_USE_ARGFILE
      Indicates whether eclipse should launch the configuration with an argument file preventing command line length issues.

      E-Attribute type: Boolean
      Required: False
      Default Value: False

      See Also:
  • Constructor Details

    • Keys

      public Keys()