Interface ConfigSource

    • Method Detail

      • getId

        java.lang.String getId()
        The identifier for this source.

        Used in end-user display of the source.

        Returns:
        the configuration source identifier.
      • getWeight

        int getWeight()
        The weight of this source, used for proper ordering of the config source search order.

        Recommended Weights:

                   -1 = the command line
                    0 = the ${jetty.base} source
               [1..n] = include-jetty-dir entries from command line
             [n+1..n] = include-jetty-dir entries from start.ini (or start.d/*.ini)
              9999999 = the ${jetty.home} source
         
        Returns:
        the weight of the config source. (lower value is more important)
      • getArgs

        RawArgs getArgs()
        The list of Arguments for this ConfigSource
        Returns:
        the list of Arguments for this ConfigSource
      • getProps

        Props getProps()
        The properties for this ConfigSource
        Returns:
        the properties for this ConfigSource
      • getProperty

        java.lang.String getProperty​(java.lang.String key)
        Return the value of the specified property.
        Parameters:
        key - the key to lookup
        Returns:
        the value of the property, or null if not found
      • getStartInis

        default java.util.Set<StartIni> getStartInis()