public class AnalyzeTask extends Object
Constructor and Description |
---|
AnalyzeTask(String processName,
ClassLoader serviceClassLoader)
Creates and returns a new instance.
|
AnalyzeTask(String processName,
DmdlAnalyzerEnhancer analyzerEnhancer,
ClassLoader serviceClassLoader)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
DmdlSemantics |
process(DmdlSourceRepository repository)
Analyzes all models from source repository in the current configuration.
|
public AnalyzeTask(String processName, ClassLoader serviceClassLoader)
processName
- the parent process nameserviceClassLoader
- class loader to load the plug-insIllegalArgumentException
- if some parameters were null
public AnalyzeTask(String processName, DmdlAnalyzerEnhancer analyzerEnhancer, ClassLoader serviceClassLoader)
processName
- the parent process nameanalyzerEnhancer
- enhances behavior of DmdlAnalyzer
serviceClassLoader
- class loader to load the plug-insIllegalArgumentException
- if some parameters were null
public DmdlSemantics process(DmdlSourceRepository repository) throws IOException
repository
- the source repositoryIOException
- if failed to process DMDL scriptsCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.