| Package | Description |
|---|---|
| org.appops.configuration.generator | |
| org.appops.configuration.store | |
| org.appops.marshaller |
| Modifier and Type | Method and Description |
|---|---|
DescriptorType |
ConfigWrapper.getDescriptorType()
Getter for the field
descriptorType. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
ConfigJsonGenerator.generateConfiguration(DescriptorType descriptorType)
Scans for classes that needs configurations and generates project configuration configuration
from information provided in annotations.
|
void |
ConfigWrapper.setDescriptorType(DescriptorType descriptorType)
Setter for the field
descriptorType. |
| Constructor and Description |
|---|
ConfigWrapper(@NotNull java.lang.String config,
@NotNull DescriptorType descType)
Object constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigurationStore.addConfiguration(java.lang.String className,
java.lang.String configuration,
DescriptorType descriptorType)
Adds configuration for a class of specific service.
|
| Modifier and Type | Field and Description |
|---|---|
static DescriptorType |
DescriptorType.JSON
Constant
JSON |
static DescriptorType |
DescriptorType.XML
Constant
XML |
static DescriptorType |
DescriptorType.YML
Constant
YML |
| Modifier and Type | Method and Description |
|---|---|
static DescriptorType |
DescriptorType.fromExtension(java.lang.String filename)
Identifies and provides type of marshaller to be used using file extension.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
Marshaller.marshall(java.lang.Object object,
DescriptorType marshaller)
Marshals provided value using provided marshaling mechanism.
|
java.lang.String |
MarshallerImpl.marshall(java.lang.Object object,
DescriptorType marshaller)
Marshals provided value using provided marshaling mechanism.
|
<T> T |
Marshaller.unmarshall(java.lang.String marshalledData,
java.lang.Class<T> clazz,
DescriptorType unmarshaller)
Unmarshals provided value using provided marshaling mechanism.
|
<T> T |
MarshallerImpl.unmarshall(java.lang.String marshalledData,
java.lang.Class<T> clazz,
DescriptorType unmarshaller)
Unmarshals provided value using provided marshaling mechanism.
|
Copyright © 2022. All rights reserved.