public abstract class GeneratedFile extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
targetProject
The target project.
|
Constructor and Description |
---|
GeneratedFile(String targetProject)
Instantiates a new generated file.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getFileName()
Get the file name (without any path).
|
abstract String |
getFormattedContent()
Returns the entire contents of the generated file.
|
abstract String |
getTargetPackage()
Get the target package for the file.
|
String |
getTargetProject()
Gets the target project.
|
abstract boolean |
isMergeable()
Checks if is mergeable.
|
String |
toString() |
protected String targetProject
public GeneratedFile(String targetProject)
targetProject
- the target projectpublic abstract String getFormattedContent()
public abstract String getFileName()
public String getTargetProject()
public abstract String getTargetPackage()
public abstract boolean isMergeable()
Copyright © 2006–2018 MyBatis.org. All rights reserved.