| Modifier and Type | Class and Description |
|---|---|
| private class | DefaultRmicAdapter.RmicFileNameMapper
Mapper that may return up to two file names. |
| Modifier and Type | Field and Description |
|---|---|
| private Rmic | |
| private FileNameMapper | |
| private static final Random | |
| public static final String | RMI_SKEL_SUFFIX
suffix denoting a skel file: _Skel |
| public static final String | RMI_STUB_SUFFIX
suffix denoting a stub file: _Stub |
| public static final String | RMI_TIE_SUFFIX
suffix denoting a tie file: _Tie |
| public static final String | STUB_1_1
arg for 1.1: -v1.1 |
| public static final String | STUB_1_2
arg for 1.2: -v1.2 |
| public static final String | STUB_COMPAT
arg for compat: -vcompat |
| public static final String | STUB_OPTION_1_1
option for stub 1.1 in the rmic task: 1.1 |
| public static final String | STUB_OPTION_1_2
option for stub 1.2 in the rmic task: 1.2 |
| public static final String | STUB_OPTION_COMPAT
option for stub compat in the rmic task: compat |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | Returns: a string to use for the stub version; can be nullThis is an override point; get the stub version off the rmic command and translate that into a compiler-specific argument |
| protected boolean | Returns: true if the iiop and idl switches are supportedWhether the iiop and idl switches are supported. |
| protected String[] | Returns: the filtered set.the original compiler arguments compilerArgs)Strip out all -J args from the command list. |
| public Path | Returns: the classpathImplements org. |
| protected Path | |
| public FileNameMapper | Returns: aFileNameMapperImplements org. |
| public Rmic | |
| protected String | |
| protected String | |
| protected String | |
| protected void | logAndAddFilesToCompile(Commandline
the commandline args cmd)Logs the compilation parameters, adds the files to compile and logs the "niceSourceList" |
| protected String[] | Returns: the filtered set.the original compiler arguments compilerArgs)Preprocess the compiler arguments in any way you see fit. |
| public void | setRmic(final Rmic
the rmic attributes attributes)Implements org. |
| protected Commandline | |
| protected Commandline | Returns: the command lineadditional parameters needed by a specific
implementation. options)Setup rmic argument for rmic. |
| private void |
| attributes | back to summary |
|---|---|
| private Rmic attributes | |
| mapper | back to summary |
|---|---|
| private FileNameMapper mapper | |
| RAND | back to summary |
|---|---|
| private static final Random RAND | |
| RMI_SKEL_SUFFIX | back to summary |
|---|---|
| public static final String RMI_SKEL_SUFFIX suffix denoting a skel file: _Skel | |
| RMI_STUB_SUFFIX | back to summary |
|---|---|
| public static final String RMI_STUB_SUFFIX suffix denoting a stub file: _Stub | |
| RMI_TIE_SUFFIX | back to summary |
|---|---|
| public static final String RMI_TIE_SUFFIX suffix denoting a tie file: _Tie | |
| STUB_1_1 | back to summary |
|---|---|
| public static final String STUB_1_1 arg for 1.1: -v1.1 | |
| STUB_1_2 | back to summary |
|---|---|
| public static final String STUB_1_2 arg for 1.2: -v1.2 | |
| STUB_COMPAT | back to summary |
|---|---|
| public static final String STUB_COMPAT arg for compat: -vcompat | |
| STUB_OPTION_1_1 | back to summary |
|---|---|
| public static final String STUB_OPTION_1_1 option for stub 1.1 in the rmic task: 1.1 | |
| STUB_OPTION_1_2 | back to summary |
|---|---|
| public static final String STUB_OPTION_1_2 option for stub 1.2 in the rmic task: 1.2 | |
| STUB_OPTION_COMPAT | back to summary |
|---|---|
| public static final String STUB_OPTION_COMPAT option for stub compat in the rmic task: compat | |
| DefaultRmicAdapter | back to summary |
|---|---|
| public DefaultRmicAdapter() | |
| addStubVersionOptions | back to summary |
|---|---|
| protected String addStubVersionOptions() This is an override point; get the stub version off the rmic command and translate that into a compiler-specific argument
| |
| areIiopAndIdlSupported | back to summary |
|---|---|
| protected boolean areIiopAndIdlSupported() Whether the iiop and idl switches are supported. This implementation returns false if running on Java 11 onwards and true otherwise.
| |
| filterJvmCompilerArgs | back to summary |
|---|---|
| protected String[] filterJvmCompilerArgs(String[] compilerArgs) Strip out all -J args from the command list. Invoke this from
| |
| getClasspath | back to summary |
|---|---|
| public Path getClasspath() Implements org. Gets the CLASSPATH this rmic process will use. | |
| getCompileClasspath | back to summary |
|---|---|
| protected Path getCompileClasspath() Builds the compilation classpath.
| |
| getMapper | back to summary |
|---|---|
| public FileNameMapper getMapper() Implements org. This implementation returns a mapper that may return up to two file names.
| |
| getRmic | back to summary |
|---|---|
| public Rmic getRmic() Get the Rmic attributes
| |
| getSkelClassSuffix | back to summary |
|---|---|
| protected String getSkelClassSuffix() Gets the skeleton class suffix
| |
| getStubClassSuffix | back to summary |
|---|---|
| protected String getStubClassSuffix() Gets the stub class suffix
| |
| getTieClassSuffix | back to summary |
|---|---|
| protected String getTieClassSuffix() Gets the tie class suffix
| |
| logAndAddFilesToCompile | back to summary |
|---|---|
| protected void logAndAddFilesToCompile(Commandline cmd) Logs the compilation parameters, adds the files to compile and logs the "niceSourceList"
| |
| preprocessCompilerArgs | back to summary |
|---|---|
| protected String[] preprocessCompilerArgs(String[] compilerArgs) Preprocess the compiler arguments in any way you see fit. This is to allow compiler adapters to validate or filter the arguments. The base implementation returns the original compiler arguments unchanged. | |
| setRmic | back to summary |
|---|---|
| public void setRmic(final Rmic attributes) Implements org. Sets Rmic attributes | |
| setupRmicCommand | back to summary |
|---|---|
| protected Commandline setupRmicCommand() Setup rmic argument for rmic.
| |
| setupRmicCommand | back to summary |
|---|---|
| protected Commandline setupRmicCommand(String[] options) Setup rmic argument for rmic.
| |
| verifyArguments | back to summary |
|---|---|
| private void verifyArguments(Commandline cmd) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | mapFileName(String
the name of the source file relative to
some given basedirectory. Might be name)null for resources that don't provide a
name.Implements org. |
| public void | setFrom(String
a string. s)Implements org. |
| public void | setTo(String
a string. s)Implements org. |
| RmicFileNameMapper | back to summary |
|---|---|
| private RmicFileNameMapper() | |
| mapFileName | back to summary |
|---|---|
| public String[] mapFileName(String name) Implements org. Doc from org. Returns an array containing the target filename(s) for the given source file. if the given rule doesn't apply to the source file, implementation must return null. SourceFileScanner will then omit the source file in question. | |
| setFrom | back to summary |
|---|---|
| public void setFrom(String s) Implements org. Empty implementation.
| |
| setTo | back to summary |
|---|---|
| public void setTo(String s) Implements org. Empty implementation.
| |