|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.rmic.AbstractRmiMojo
public abstract class AbstractRmiMojo
Generic super class of rmi compiler mojos.
| Field Summary | |
|---|---|
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. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractRmiMojo()
|
|
| Method Summary | |
|---|---|
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 |
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 |
isVerbose()
Output messages about compilation |
List |
scanForRemoteClasses()
Search the input directory for classes to compile. |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Set includes
protected Set excludes
protected String compilerId
protected org.apache.maven.project.MavenProject project
| Constructor Detail |
|---|
public AbstractRmiMojo()
| Method Detail |
|---|
public abstract List getProjectClasspathElements()
public abstract File getOutputDirectory()
getOutputDirectory in interface RmicConfigpublic 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()
getRmicClasspathElements in interface RmicConfigpublic List scanForRemoteClasses()
protected List generateUrlCompileClasspath()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic String getCompilerId()
public boolean isIiop()
isIiop in interface RmicConfigpublic boolean isIdl()
isIdl in interface RmicConfigpublic boolean isKeep()
RmicConfig
isKeep in interface RmicConfigpublic String getVersion()
getVersion in interface RmicConfigpublic boolean isNowarn()
RmicConfig
isNowarn in interface RmicConfigpublic boolean isVerbose()
RmicConfig
isVerbose in interface RmicConfigpublic boolean isNoLocalStubs()
RmicConfig
isNoLocalStubs in interface RmicConfigpublic boolean isNoValueMethods()
RmicConfig
isNoValueMethods in interface RmicConfig
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||