public class MavenShellCallback extends DefaultShellCallback
| Constructor and Description |
|---|
MavenShellCallback(MyBatisGeneratorMojo mybatisGeneratorMojo,
boolean overwrite) |
| Modifier and Type | Method and Description |
|---|---|
File |
getDirectory(String targetProject,
String targetPackage)
This method is called to ask the shell to resolve a
project/package combination into a directory on the file system.
|
isMergeSupported, isOverwriteEnabled, mergeJavaFile, refreshProjectpublic MavenShellCallback(MyBatisGeneratorMojo mybatisGeneratorMojo, boolean overwrite)
overwrite - public File getDirectory(String targetProject, String targetPackage) throws ShellException
ShellCallbackjava.io.File object:
getDirectory in interface ShellCallbackgetDirectory in class DefaultShellCallbackShellException - if the project/package cannot be resolved into a directory on
the file system. In this case, the generator will not save the file
it is currently working on. The generator will add the exception
message to the list of warnings automatically.Copyright © 2010–2015 MyBatis.org. All rights reserved.