Package io.smallrye.config
Class ConfigMappingInterface
- java.lang.Object
-
- io.smallrye.config.ConfigMappingInterface
-
- All Implemented Interfaces:
ConfigMappingMetadata
public final class ConfigMappingInterface extends Object implements ConfigMappingMetadata
Information about a configuration interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfigMappingInterface.CollectionProperty
static class
ConfigMappingInterface.DefaultMethodProperty
static class
ConfigMappingInterface.GroupProperty
static class
ConfigMappingInterface.LeafProperty
static class
ConfigMappingInterface.MapProperty
static class
ConfigMappingInterface.MayBeOptionalProperty
static interface
ConfigMappingInterface.NamingStrategy
static class
ConfigMappingInterface.OptionalProperty
static class
ConfigMappingInterface.PrimitiveProperty
static class
ConfigMappingInterface.Property
static class
ConfigMappingInterface.ToStringMethod
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getClassBytes()
String
getClassName()
static ConfigMappingInterface
getConfigurationInterface(Class<?> interfaceType)
Get the configuration interface information for the given interface class.Class<?>
getInterfaceType()
Get the configuration interface type.ConfigMappingInterface.NamingStrategy
getNamingStrategy()
ConfigMappingInterface.Property[]
getProperties()
ConfigMappingInterface[]
getSuperTypes()
-
-
-
Method Detail
-
getConfigurationInterface
public static ConfigMappingInterface getConfigurationInterface(Class<?> interfaceType)
Get the configuration interface information for the given interface class. This information is cached.- Parameters:
interfaceType
- the interface type (must not benull
)- Returns:
- the configuration interface, or
null
if the type does not appear to be a configuration interface
-
getInterfaceType
public Class<?> getInterfaceType()
Get the configuration interface type.- Specified by:
getInterfaceType
in interfaceConfigMappingMetadata
- Returns:
- the configuration interface type
-
getSuperTypes
public ConfigMappingInterface[] getSuperTypes()
-
getProperties
public ConfigMappingInterface.Property[] getProperties()
-
getNamingStrategy
public ConfigMappingInterface.NamingStrategy getNamingStrategy()
-
getClassName
public String getClassName()
- Specified by:
getClassName
in interfaceConfigMappingMetadata
-
getClassBytes
public byte[] getClassBytes()
- Specified by:
getClassBytes
in interfaceConfigMappingMetadata
-
-