org.codehaus.mojo.rmic
Class TestRmicMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.rmic.AbstractRmiMojo
          extended by org.codehaus.mojo.rmic.TestRmicMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, RmicConfig

public class TestRmicMojo
extends AbstractRmiMojo

Compiles rmi stubs and skeleton classes from a remote implementation class. By default runs against files in the test-classes directory.

Version:
$Id: TestRmicMojo.java 6442 2008-03-12 19:39:42Z pgier $
Author:
pgier

Field Summary
protected  java.util.List projectTestClasspathElements
          Compile classpath of the maven project.
 
Fields inherited from class org.codehaus.mojo.rmic.AbstractRmiMojo
compilerId, excludes, includes, project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestRmicMojo()
           
 
Method Summary
 java.io.File getClassesDirectory()
          Get the directory where the project classes are located.
 java.io.File getOutputDirectory()
          Get the directory where rmic generated class files are written.
 java.util.List getProjectClasspathElements()
          Get the list of classpath elements for the project.
 
Methods inherited from class org.codehaus.mojo.rmic.AbstractRmiMojo
execute, generateUrlCompileClasspath, getCompilerId, getRmicClasspathElements, getVersion, isIdl, isIiop, isKeep, isNoLocalStubs, isNoValueMethods, isNowarn, isVerbose, scanForRemoteClasses
 
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

projectTestClasspathElements

protected java.util.List projectTestClasspathElements
Compile classpath of the maven project.

Constructor Detail

TestRmicMojo

public TestRmicMojo()
Method Detail

getOutputDirectory

public java.io.File getOutputDirectory()
Get the directory where rmic generated class files are written.

Specified by:
getOutputDirectory in interface RmicConfig
Specified by:
getOutputDirectory in class AbstractRmiMojo
Returns:
the directory

getClassesDirectory

public java.io.File getClassesDirectory()
Get the directory where the project classes are located.

Specified by:
getClassesDirectory in class AbstractRmiMojo
Returns:
The project classes directory.

getProjectClasspathElements

public java.util.List getProjectClasspathElements()
Get the list of classpath elements for the project.

Specified by:
getProjectClasspathElements in class AbstractRmiMojo
Returns:
A list containing the project classpath elements.


Copyright © 2010. All Rights Reserved.