Class ConfigValue


  • public class ConfigValue
    extends java.lang.Object
    ConfigValue represents a configuration value.
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigValue​(java.lang.String value)
      Creates a new configuration value.
      ConfigValue​(java.lang.String value, boolean isSecret)
      Creates a new configuration value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isSecret()
      True if the configuration value is secret.
      java.lang.String value()
      Gets the configuration value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigValue

        public ConfigValue​(java.lang.String value)
        Creates a new configuration value.
        Parameters:
        value - the value
      • ConfigValue

        public ConfigValue​(java.lang.String value,
                           boolean isSecret)
        Creates a new configuration value.
        Parameters:
        value - the value
        isSecret - true if the value is secret
    • Method Detail

      • value

        public java.lang.String value()
        Gets the configuration value.
        Returns:
        the value
      • isSecret

        public boolean isSecret()
        True if the configuration value is secret.
        Returns:
        true if the configuration value is secret