public class DataSourceIInitialModule extends InitialModule
Modifier and Type | Field and Description |
---|---|
protected String |
importFile
Represents the path of the XML file to import.
|
Constructor and Description |
---|
DataSourceIInitialModule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
check()
Check if file exists.
|
String |
getImportFile() |
protected boolean |
install()
Install this module
|
protected boolean |
installOrUpgrade(boolean upgrade) |
void |
setImportFile(String importFile) |
protected boolean |
upgrade(long currentVersion)
Upgrade from given version
|
doTheInstall, doTheUpgrade, getName, getVersion, isInstallTransactional, setInstallTransactional, setName, setVersion
protected String importFile
public String getImportFile()
public void setImportFile(String importFile)
protected boolean install()
InitialModule
install
in class InitialModule
protected boolean upgrade(long currentVersion)
InitialModule
upgrade
in class InitialModule
protected boolean installOrUpgrade(boolean upgrade)
protected boolean check()
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.