Package io.microsphere.spring.config
Class ConfigurationProperty
java.lang.Object
io.microsphere.spring.config.ConfigurationProperty
The Spring Configuration Property class
- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
-
Environment
PropertySource
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The metadata class of the Spring Configuration Property -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationProperty
(String name) ConfigurationProperty
(String name, Class<?> type) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
getName()
Class<?>
getType()
getValue()
int
hashCode()
boolean
void
setDefaultValue
(Object defaultValue) void
setRequired
(boolean required) void
void
toString()
-
Constructor Details
-
ConfigurationProperty
-
ConfigurationProperty
-
-
Method Details
-
getName
-
getType
-
setType
-
getValue
-
setValue
-
getDefaultValue
-
setDefaultValue
-
isRequired
public boolean isRequired() -
setRequired
public void setRequired(boolean required) -
getMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-