| Package | Description |
|---|---|
| org.yarnandtail.andhow | |
| org.yarnandtail.andhow.export | |
| org.yarnandtail.andhow.internal | |
| org.yarnandtail.andhow.internal.export |
| Modifier and Type | Method and Description |
|---|---|
Stream<PropertyExport> |
AndHow.export(Class<?>... exportClasses)
Export Property's to a collection for use with frameworks that take configuration as
key-value maps or similar.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyExport |
PropertyExport.mapNames(List<String> exportNames)
Intended for using with Java
stream()s, this method maps this instance to a new one
with new export names. |
PropertyExport |
PropertyExport.mapValue(Object value)
Intended for using with Java
stream()s, this method maps this instance to a new one
with a new Object value for the Property, i.e., the 'value' part of a key-value pair. |
PropertyExport |
PropertyExport.mapValueAsString(String value)
Intended for using with Java
stream()s, this method maps this instance to a new one
with a new String value for the Property, i.e., the 'value' part of a key-value pair. |
| Modifier and Type | Method and Description |
|---|---|
Stream<PropertyExport> |
AndHowCore.export(Class<?>... exportClasses) |
| Modifier and Type | Class and Description |
|---|---|
class |
PropertyExportImpl
Implementation w/ wrapper inner subclass to simplify wrapped instances for mapXXX methods.
|
protected static class |
PropertyExportImpl.PropertyExportWrap
A wrapper class that make it easy to wrap, delegate and override methods.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyExport |
PropertyExportImpl.mapNames(List<String> exportNames) |
PropertyExport |
PropertyExportImpl.PropertyExportWrap.mapNames(List<String> exportNames) |
protected static PropertyExport |
PropertyExportImpl.mapNames(List<String> exportNames,
PropertyExport inner)
Construct a new PropertyExport, overriding the getExportNames() method.
|
PropertyExport |
PropertyExportImpl.mapValue(Object value) |
PropertyExport |
PropertyExportImpl.PropertyExportWrap.mapValue(Object value) |
protected static PropertyExport |
PropertyExportImpl.mapValue(Object value,
PropertyExport inner)
Construct a new PropertyExport, overriding the getValue() method.
|
PropertyExport |
PropertyExportImpl.mapValueAsString(String value) |
PropertyExport |
PropertyExportImpl.PropertyExportWrap.mapValueAsString(String value) |
protected static PropertyExport |
PropertyExportImpl.mapValueAsString(String value,
PropertyExport inner)
Construct a new PropertyExport, overriding the getValueAsString() method.
|
| Modifier and Type | Method and Description |
|---|---|
Stream<PropertyExport> |
ManualExportService.doManualExport(List<Class<?>> exportRoots,
Collection<GroupProxy> groupList)
Perform an export for a list of Classes.
|
| Modifier and Type | Method and Description |
|---|---|
protected static PropertyExport |
PropertyExportImpl.mapNames(List<String> exportNames,
PropertyExport inner)
Construct a new PropertyExport, overriding the getExportNames() method.
|
protected static PropertyExport |
PropertyExportImpl.mapValue(Object value,
PropertyExport inner)
Construct a new PropertyExport, overriding the getValue() method.
|
protected static PropertyExport |
PropertyExportImpl.mapValueAsString(String value,
PropertyExport inner)
Construct a new PropertyExport, overriding the getValueAsString() method.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ManualExportService.exportClass(Class<?> clazz,
Exporter.EXPORT_CANONICAL_NAME canNameOpt,
Exporter.EXPORT_OUT_ALIASES outAliasOpt,
Collection<GroupProxy> groupList,
Collection<PropertyExport> propExports)
Export the Properties contained in a single class with no recursion.
|
protected void |
ManualExportService.exportClassAndChildren(Class<?> clazz,
Exporter.EXPORT_CANONICAL_NAME canonicalOption,
Exporter.EXPORT_OUT_ALIASES outAliasOption,
Set<Class<?>> alreadyExportedClasses,
Collection<GroupProxy> groupList,
Collection<PropertyExport> propExports)
Export this class and all contained, nested inner classes if permitted.
|
| Constructor and Description |
|---|
PropertyExportWrap(PropertyExport inner)
Construct a wrapper instance that wraps 'inner' and delegates to it for all methods.
|
Copyright © 2022. All rights reserved.