Package net.neoforged.elc.configs
Class LaunchGroup.Keys
java.lang.Object
net.neoforged.elc.configs.LaunchGroup.Keys
- Enclosing class:
- LaunchGroup
Holds keys relevant to serialization of
LaunchGroup.
Because most of the keys require inserting an index into them, this class holds methods instead of constants.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringaction(int index) Defines the name of the post-launch action to take after the configuration at this index has launched, but before the next index has launched.static StringactionParam(int index) Defines the action parameter, based on the set action.static StringadoptIfRunning(int index) Defines if the launch group entry should use a currently executing instance, if one exists.static Stringenabled(int index) Defines if the launch group entry at this index is enabled and should be run.static Stringmode(int index) Defines the execution mode for the launch configuration at this index.static Stringname(int index) Defines the name of the launch configuration that will be run for this index.
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
Keys
public Keys()
-
-
Method Details
-
name
Defines the name of the launch configuration that will be run for this index.E-Attribute Type: String
Required: True -
enabled
Defines if the launch group entry at this index is enabled and should be run.E-Attribute Type: Boolean
Required: True -
adoptIfRunning
Defines if the launch group entry should use a currently executing instance, if one exists.E-Attribute Type: Boolean
Required: False
Default Value: False -
mode
Defines the execution mode for the launch configuration at this index.E-Attribute Type: String
Required: True -
action
Defines the name of the post-launch action to take after the configuration at this index has launched, but before the next index has launched.E-Attribute Type: String
Required: False
Default Value:LaunchGroup.Action.NONE -
actionParam
Defines the action parameter, based on the set action.
-