JSF Test Framework: Maven Mock-Generator Plugin 1.1.2

org.jboss.mockgenerator
Class GenerateTestMockMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jboss.mockgenerator.AbstractMockMojo
          extended by org.jboss.mockgenerator.GenerateTestMockMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GenerateTestMockMojo
extends AbstractMockMojo

Goal which generates EasyMock Java classes.

Author:
asmirnov@exadel.com

Field Summary
 
Fields inherited from class org.jboss.mockgenerator.AbstractMockMojo
errorsCount, mockConfig, outputDirectory, project, projectClassLoader
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateTestMockMojo()
           
 
Method Summary
protected  void addGeneratedSourcesToProject()
           
protected  Collection<String> getClasspathElements()
          

protected  File getConfig()
          

protected  File getOutputJavaDirectory()
          

 
Methods inherited from class org.jboss.mockgenerator.AbstractMockMojo
createProjectClassLoader, execute, generateClass, getPublicMethods, readConfig, skipMethod
 
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
 

Constructor Detail

GenerateTestMockMojo

public GenerateTestMockMojo()
Method Detail

addGeneratedSourcesToProject

protected void addGeneratedSourcesToProject()
Specified by:
addGeneratedSourcesToProject in class AbstractMockMojo

getOutputJavaDirectory

protected File getOutputJavaDirectory()
Description copied from class: AbstractMockMojo

Specified by:
getOutputJavaDirectory in class AbstractMockMojo
Returns:
the outputJavaDirectory

getConfig

protected File getConfig()
Description copied from class: AbstractMockMojo

Specified by:
getConfig in class AbstractMockMojo
Returns:
the config

getClasspathElements

protected Collection<String> getClasspathElements()
Description copied from class: AbstractMockMojo

Specified by:
getClasspathElements in class AbstractMockMojo
Returns:
the classpathElements

JSF Test Framework: Maven Mock-Generator Plugin 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.