org.codehaus.mojo.appfuse.mojo
Class CopyDaoFilesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.appfuse.mojo.MojoBase
          extended by org.codehaus.mojo.appfuse.mojo.CopyDaoFilesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CopyDaoFilesMojo
extends MojoBase

This mojo class will copy the Dao java interface files from the generation directory to the target directory.

Version:
$Id: $
Author:
Scott Ryan

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CopyDaoFilesMojo()
          Creates a new CopyDaoFilesMojo object.
 
Method Summary
protected  java.lang.String augmentFilePattern(java.lang.String inFilePattern)
          This method takes the ant based file pattern and adds the proper suffix onto it for the type of processing the mojo needs to do.
 java.lang.String toString()
          This method creates a String representation of this object.
 
Methods inherited from class org.codehaus.mojo.appfuse.mojo.MojoBase
execute, getBasePackageName, getCopyOverWrite, getFilePattern, getModelDirectory, getModelPackageName, getMojoName, getOutputDirectory, getProcessingProperties, getSourceDirectory, setBasePackageName, setCopyOverWrite, setFilePattern, setModelDirectory, setMojoName, setOutputDirectory, setProcessingProperties, setSourceDirectory
 
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, wait, wait, wait
 

Constructor Detail

CopyDaoFilesMojo

public CopyDaoFilesMojo()
Creates a new CopyDaoFilesMojo object.

Method Detail

augmentFilePattern

protected java.lang.String augmentFilePattern(java.lang.String inFilePattern)
This method takes the ant based file pattern and adds the proper suffix onto it for the type of processing the mojo needs to do. The default is to add .java to the end however if you need a different suffix or need to manipulate the pattern in some way you can overload this method.

Parameters:
inFilePattern - The initial file pattern requested for processing.
Returns:
An augmented file pattern with the type .java added to it.

toString

public java.lang.String toString()
This method creates a String representation of this object.

Overrides:
toString in class MojoBase
Returns:
the String representation of this object


Copyright © 2006-2009. All Rights Reserved.