public abstract class AbstractRmiMojo extends org.apache.maven.plugin.AbstractMojo implements RmicConfig
| Modifier and Type | Field and Description |
|---|---|
protected String |
compilerId
The id of the rmi compiler to use.
|
protected Set |
excludes
A list of exclusions when searching for classes to compile.
|
protected Set |
includes
A list of inclusions when searching for classes to compile.
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRmiMojo()
Creates the abstract class using a production implementation of the dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Main mojo execution.
|
protected List |
generateUrlCompileClasspath()
Returns a list of URL objects that represent the classpath elements.
|
abstract File |
getClassesDirectory()
Get the directory where Remote impl classes are located.
|
String |
getCompilerId() |
abstract File |
getOutputDirectory()
Get the directory where rmic generated class files are written.
|
abstract List |
getProjectClasspathElements()
Get the list of elements to add to the classpath of rmic
|
List |
getRemoteClasses(Source source)
Search the input directory for classes to compile.
|
List |
getRmicClasspathElements()
Get the list of elements to add to the classpath of rmic
|
String |
getVersion() |
boolean |
isIdl() |
boolean |
isIiop() |
boolean |
isKeep()
Keep intermediate files
|
boolean |
isNoLocalStubs()
Do not create stubs optimized for same process.
|
boolean |
isNoValueMethods()
Do not create methods for valuetypes.
|
boolean |
isNowarn()
Turn off warnings
|
boolean |
isPoa() |
boolean |
isVerbose()
Output messages about compilation
|
protected Set includes
protected Set excludes
protected String compilerId
protected org.apache.maven.project.MavenProject project
protected AbstractRmiMojo()
public abstract List getProjectClasspathElements()
public abstract File getOutputDirectory()
public abstract File getClassesDirectory()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionException - if there is a problem executing the mojo.public List getRmicClasspathElements()
public List getRemoteClasses(Source source)
source - protected List generateUrlCompileClasspath() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic String getCompilerId()
public boolean isIiop()
isIiop in interface RmicConfigpublic boolean isPoa()
isPoa in interface RmicConfigpublic boolean isIdl()
isIdl in interface RmicConfigpublic boolean isKeep()
RmicConfigisKeep in interface RmicConfigpublic String getVersion()
getVersion in interface RmicConfigpublic boolean isNowarn()
RmicConfigisNowarn in interface RmicConfigpublic boolean isVerbose()
RmicConfigisVerbose in interface RmicConfigpublic boolean isNoLocalStubs()
RmicConfigisNoLocalStubs in interface RmicConfigpublic boolean isNoValueMethods()
RmicConfigisNoValueMethods in interface RmicConfigCopyright © 2006–2022 MojoHaus. All rights reserved.