Class ConfigurationProperties


  • public final class ConfigurationProperties
    extends Object
    The properties of a configuration.
    • Constructor Detail

      • ConfigurationProperties

        public ConfigurationProperties()
    • Method Detail

      • value

        public String value()
        Get the value property: Value of the configuration.
        Returns:
        the value value.
      • withValue

        public ConfigurationProperties withValue​(String value)
        Set the value property: Value of the configuration.
        Parameters:
        value - the value value to set.
        Returns:
        the ConfigurationProperties object itself.
      • description

        public String description()
        Get the description property: Description of the configuration.
        Returns:
        the description value.
      • defaultValue

        public String defaultValue()
        Get the defaultValue property: Default value of the configuration.
        Returns:
        the defaultValue value.
      • dataType

        public String dataType()
        Get the dataType property: Data type of the configuration.
        Returns:
        the dataType value.
      • allowedValues

        public String allowedValues()
        Get the allowedValues property: Allowed values of the configuration.
        Returns:
        the allowedValues value.
      • source

        public ConfigurationSource source()
        Get the source property: Source of the configuration.
        Returns:
        the source value.
      • withSource

        public ConfigurationProperties withSource​(ConfigurationSource source)
        Set the source property: Source of the configuration.
        Parameters:
        source - the source value to set.
        Returns:
        the ConfigurationProperties object itself.
      • isReadOnly

        public IsReadOnly isReadOnly()
        Get the isReadOnly property: If is the configuration read only.
        Returns:
        the isReadOnly value.
      • isConfigPendingRestart

        public IsConfigPendingRestart isConfigPendingRestart()
        Get the isConfigPendingRestart property: If is the configuration pending restart or not.
        Returns:
        the isConfigPendingRestart value.
      • isDynamicConfig

        public IsDynamicConfig isDynamicConfig()
        Get the isDynamicConfig property: If is the configuration dynamic.
        Returns:
        the isDynamicConfig value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.