Class NotSuppliedConfiguration

    • Constructor Detail

      • NotSuppliedConfiguration

        public NotSuppliedConfiguration()
    • Method Detail

      • isSet

        public boolean isSet()
        Description copied from interface: Configuration
        Checks if this source has some configuration set.
        Specified by:
        isSet in interface Configuration
        Returns:
        true if this source holds any configuration value.
      • asInt

        public int asInt()
        Description copied from interface: Configuration
        Gets the value of this configuration as an int.
        Specified by:
        asInt in interface Configuration
        Returns:
        an int value defined by this configuration.
      • asLong

        public long asLong()
        Description copied from interface: Configuration
        Gets the value of this configuration as an long.
        Specified by:
        asLong in interface Configuration
        Returns:
        a long value defined by this configuration.
      • asBoolean

        public boolean asBoolean()
        Description copied from interface: Configuration
        Gets the value of this configuration as an boolean.
        Specified by:
        asBoolean in interface Configuration
        Returns:
        a boolean value defined by this configuration.
      • read

        public String read()
        Description copied from interface: Configuration
        Assumes this configuration value is pointing to an external location and reads the value at that location.
        Specified by:
        read in interface Configuration
        Returns:
        the value stored in the location defined by this configuration.
      • readLines

        public List<String> readLines()
        Description copied from interface: Configuration
        Assumes this configuration value is pointing to an external location and reads the lines at that location.
        Specified by:
        readLines in interface Configuration
        Returns:
        the lines stored in the location defined by this configuration.