|
|||||||||
| 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 java.lang.String |
compilerId
The id of the rmi compiler to use. |
protected java.util.Set |
excludes
A list of exclusions when searching for classes to compile. |
protected java.util.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 java.util.List |
generateUrlCompileClasspath()
Returns a list of URL objects that represent the classpath elements. |
abstract java.io.File |
getClassesDirectory()
Get the directory where Remote impl classes are located. |
java.lang.String |
getCompilerId()
|
abstract java.io.File |
getOutputDirectory()
Get the directory where rmic generated class files are written. |
abstract java.util.List |
getProjectClasspathElements()
Get the list of elements to add to the classpath of rmic |
java.util.List |
getRmicClasspathElements()
Get the list of elements to add to the classpath of rmic |
java.lang.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 |
java.util.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 java.util.Set includes
protected java.util.Set excludes
protected java.lang.String compilerId
protected org.apache.maven.project.MavenProject project
| Constructor Detail |
|---|
public AbstractRmiMojo()
| Method Detail |
|---|
public abstract java.util.List getProjectClasspathElements()
public abstract java.io.File getOutputDirectory()
getOutputDirectory in interface RmicConfigpublic abstract java.io.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 java.util.List getRmicClasspathElements()
getRmicClasspathElements in interface RmicConfigpublic java.util.List scanForRemoteClasses()
protected java.util.List generateUrlCompileClasspath()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic java.lang.String getCompilerId()
public boolean isIiop()
isIiop in interface RmicConfigpublic boolean isIdl()
isIdl in interface RmicConfigpublic boolean isKeep()
RmicConfig
isKeep in interface RmicConfigpublic java.lang.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 | ||||||||