public class ConfigJsonGenerator
extends java.lang.Object
| Constructor and Description |
|---|
ConfigJsonGenerator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.Class<?>> |
classesTobeConfigured()
Scans for
Config annotation on classes. |
java.util.Set<java.lang.Class<?>> |
findAnnotatedClasses(java.lang.Class<? extends java.lang.annotation.Annotation> annotation) |
java.lang.String |
generateConfiguration()
Scans for classes that needs configurations and generates project configuration configuration
from information provided in annotations.
|
java.lang.String |
generateConfiguration(DescriptorType descriptorType)
Scans for classes that needs configurations and generates project configuration configuration
from information provided in annotations.
|
Marshaller |
getMarshaller()
Getter for the field
marshaller. |
void |
setMarshaller(Marshaller marshaller)
Setter for the field
marshaller. |
public java.lang.String generateConfiguration()
public java.lang.String generateConfiguration(DescriptorType descriptorType)
descriptorType - DescriptorType to marshall objectpublic java.util.Set<java.lang.Class<?>> findAnnotatedClasses(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
public java.util.Set<java.lang.Class<?>> classesTobeConfigured()
Config annotation on classes.public Marshaller getMarshaller()
Getter for the field marshaller.
Marshaller object.@Inject public void setMarshaller(Marshaller marshaller)
Setter for the field marshaller.
marshaller - a Marshaller object.Copyright © 2021. All rights reserved.