org.mybatis.generator.maven
Class MavenShellCallback

java.lang.Object
  extended by org.mybatis.generator.internal.DefaultShellCallback
      extended by org.mybatis.generator.maven.MavenShellCallback
All Implemented Interfaces:
ShellCallback

public class MavenShellCallback
extends DefaultShellCallback

Author:
Jeff Butler

Constructor Summary
MavenShellCallback(MyBatisGeneratorMojo mybatisGeneratorMojo, boolean overwrite)
           
 
Method Summary
 File getDirectory(String targetProject, String targetPackage)
           
 
Methods inherited from class org.mybatis.generator.internal.DefaultShellCallback
isMergeSupported, isOverwriteEnabled, mergeJavaFile, refreshProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenShellCallback

public MavenShellCallback(MyBatisGeneratorMojo mybatisGeneratorMojo,
                          boolean overwrite)
Parameters:
overwrite -
Method Detail

getDirectory

public File getDirectory(String targetProject,
                         String targetPackage)
                  throws ShellException
Specified by:
getDirectory in interface ShellCallback
Overrides:
getDirectory in class DefaultShellCallback
Throws:
ShellException


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.