Launcher#startupInfo()
| Modifier and Type | Class and Description |
|---|---|
| public static record | LauncherStartupInfo.
Default implementation of |
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: the classpath of this launcher startup configurationGets the files and directories that should be put on a classpath for an application launcher this launcher startup configuration applies to. |
| public List | Returns: the default parameters for themain(String[] args)
method of the main class of this launcher startup configurationGets the default parameters for the |
| public List | Returns: the JVM options of this launcher startup configurationGets JVM options of this launcher startup configuration. |
| public default String | Returns: the package name of the main class of this launcher startup configurationGets the package name of the main class of this launcher startup configuration. |
| public String | Returns: the qualified name of the main class of this launcher startup configurationGets the qualified name of the main class of this launcher startup configuration. |
| public default String | Returns: the simple name of the main class of this launcher startup configuration as given in the source codeReturns the simple name of the main class of this launcher startup configuration as given in the source code. |
| classPath | back to summary |
|---|---|
| public List Gets the files and directories that should be put on a classpath for an application launcher this launcher startup configuration applies to. | |
| defaultParameters | back to summary |
|---|---|
| public List Gets the default parameters for the | |
| javaOptions | back to summary |
|---|---|
| public List Gets JVM options of this launcher startup configuration. | |
| packageName | back to summary |
|---|---|
| public default String packageName() Gets the package name of the main class of this launcher startup configuration.
| |
| qualifiedClassName | back to summary |
|---|---|
| public String qualifiedClassName() Gets the qualified name of the main class of this launcher startup configuration.
| |
| simpleClassName | back to summary |
|---|---|
| public default String simpleClassName() Returns the simple name of the main class of this launcher startup configuration as given in the source code.
| |
LauncherStartupInfo interface.
| Modifier and Type | Field and Description |
|---|---|
| private final List | classPath
Record Component accessed by classPath(). |
| private final List | defaultParameters
Record Component accessed by defaultParameters(). |
| private final List | javaOptions
Record Component accessed by javaOptions(). |
| private final String | qualifiedClassName
Record Component accessed by qualifiedClassName(). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | classPath()
Record Component getter of classPath. Implements jdk. Gets the files and directories that should be put on a classpath for an application launcher this launcher startup configuration applies to.
|
| public List | defaultParameters()
Record Component getter of defaultParameters. Implements jdk. Gets the default parameters for the
|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public List | javaOptions()
Record Component getter of javaOptions. Implements jdk. Gets JVM options of this launcher startup configuration.
|
| public String | qualifiedClassName()
Record Component getter of qualifiedClassName. Implements jdk. Gets the qualified name of the main class of this launcher startup configuration.
|
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| classPath | back to summary |
|---|---|
| private final List<Path> classPath Record Component accessed by classPath(). | |
| defaultParameters | back to summary |
|---|---|
| private final List<String> defaultParameters Record Component accessed by defaultParameters(). | |
| javaOptions | back to summary |
|---|---|
| private final List<String> javaOptions Record Component accessed by javaOptions(). | |
| qualifiedClassName | back to summary |
|---|---|
| private final String qualifiedClassName Record Component accessed by qualifiedClassName(). | |
| Stub | back to summary |
|---|---|
| public Stub(String qualifiedClassName, List<String> javaOptions, List<String> defaultParameters, List<Path> classPath) | |
| classPath | back to summary |
|---|---|
| public List Record Component getter of classPath. Implements jdk. Doc from jdk. Gets the files and directories that should be put on a classpath for an application launcher this launcher startup configuration applies to. | |
| defaultParameters | back to summary |
|---|---|
| public List Record Component getter of defaultParameters. Implements jdk. Doc from jdk. Gets the default parameters for the | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| javaOptions | back to summary |
|---|---|
| public List Record Component getter of javaOptions. Implements jdk. Doc from jdk. Gets JVM options of this launcher startup configuration. | |
| qualifiedClassName | back to summary |
|---|---|
| public String qualifiedClassName() Record Component getter of qualifiedClassName. Implements jdk. Doc from jdk. Gets the qualified name of the main class of this launcher startup configuration. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |