public class AnnotationBasedConfigGenerator extends Object
| Constructor and Description |
|---|
AnnotationBasedConfigGenerator(String pResourceGenDirectory,
String pTestResourceGenDirectory,
String pTargetDirectory,
String pTestTargetDirectory,
io.github.classgraph.ScanResult pScanResult,
org.apache.maven.plugin.logging.Log pLog,
List<String> pClasspath) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(AnnotationProcessingConfig pAnnotationProcessingConfig,
NameFilter pFilter,
boolean pTestScope)
Method generates configuration file for JEAF message resources.
|
void |
writeConfigFile(List<String> pLines,
String pFilePath,
boolean pTestScope) |
public void generate(AnnotationProcessingConfig pAnnotationProcessingConfig, NameFilter pFilter, boolean pTestScope) throws IOException
pAnnotationProcessingConfig - TODOpTestScope - If parameter is set to true then we work in test scope. This means that the file will be written
to the test output directory.pScanResult - Result of classpath scan. The parameter must not be null.IOException - If an IOException occurs during writing the file.public void writeConfigFile(List<String> pLines, String pFilePath, boolean pTestScope) throws IOException
IOExceptionCopyright © 2022. All rights reserved.