public class GenerateTask extends Object
Constructor and Description |
---|
GenerateTask(TemplateGenerator generator,
DmdlSourceRepository repository,
ClassLoader serviceClassLoader)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
process()
Generates all templates from source repository in the current configuration.
|
public GenerateTask(TemplateGenerator generator, DmdlSourceRepository repository, ClassLoader serviceClassLoader)
generator
- template generatorrepository
- source repositoryserviceClassLoader
- class loader to load plug-insIllegalArgumentException
- if some parameters were null
public void process() throws IOException
IOException
- if failed to process DMDL scripts, or failed to generate templatesCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.