org.appfuse.tool
Class ArtifactUninstaller

java.lang.Object
  extended by org.appfuse.tool.ArtifactUninstaller

public class ArtifactUninstaller
extends Object

This class is responsible for removing generated CRUD artifacts from an AppFuse application.

Author:
mraible

Constructor Summary
ArtifactUninstaller(org.apache.maven.project.MavenProject project, String pojoName, String installedDirectory, boolean genericCore)
           
 
Method Summary
 void execute()
           
 org.apache.maven.plugin.logging.Log getLog()
           
protected  void removeGeneratedFiles(String installedDirectory, String removePattern)
          This method will remove files from the source directory.
 void setGenericCore(boolean genericCore)
           
 void setProject(org.apache.maven.project.MavenProject project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactUninstaller

public ArtifactUninstaller(org.apache.maven.project.MavenProject project,
                           String pojoName,
                           String installedDirectory,
                           boolean genericCore)
Method Detail

execute

public void execute()

removeGeneratedFiles

protected void removeGeneratedFiles(String installedDirectory,
                                    String removePattern)
This method will remove files from the source directory.

Parameters:
installedDirectory - The destination directory to copy to.
removePattern - The file pattern to match to locate files to copy.

getLog

public org.apache.maven.plugin.logging.Log getLog()

setProject

public void setProject(org.apache.maven.project.MavenProject project)

setGenericCore

public void setGenericCore(boolean genericCore)


Copyright © 2003-2012. All Rights Reserved.