public class Molgenis extends Object
MolgenisOptions| Constructor and Description |
|---|
Molgenis() |
Molgenis(MolgenisOptions options,
Class<? extends Generator>... generatorsToUse) |
Molgenis(MolgenisOptions options,
String outputPath,
Class<? extends Generator>... generatorsToUse)
Construct a MOLGENIS generator
|
Molgenis(String propertiesFile) |
Molgenis(String propertiesFile,
Class<? extends Generator>... generatorsToUse) |
Molgenis(String propertiesFile,
String outputPath) |
Molgenis(String propertiesFile,
String outputPath,
Class<? extends Generator>... generatorsToUse) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
deleteContentOfDirectory(File path)
Deletes the content of directory (path), excluding hidden files like .svn
|
void |
generate()
Apply all generators on the model
|
void |
generateTests() |
List<Generator> |
getGenerators() |
MolgenisOptions |
getMolgenisOptions() |
void |
init(String propertiesFile,
String outputPath,
Class<? extends Generator>... generatorsToUse) |
static void |
main(String[] args) |
void |
setGenerators(List<Generator> generators) |
String |
toString()
Report current settings of the generator.
|
public Molgenis(String propertiesFile, Class<? extends Generator>... generatorsToUse) throws Exception
Exceptionpublic Molgenis(String propertiesFile, String outputPath, Class<? extends Generator>... generatorsToUse) throws Exception
Exceptionpublic Molgenis(String propertiesFile, String outputPath) throws Exception
Exceptionpublic Molgenis()
public Molgenis(MolgenisOptions options, Class<? extends Generator>... generatorsToUse) throws Exception
Exceptionpublic static void main(String[] args)
public void init(String propertiesFile, String outputPath, Class<? extends Generator>... generatorsToUse) throws Exception
Exceptionpublic void generate()
throws Exception
model - Exceptionpublic static boolean deleteContentOfDirectory(File path)
path - of directory to deletepublic final String toString()
public MolgenisOptions getMolgenisOptions()
Copyright © 2015. All Rights Reserved.