Class LauncherConfigurationParameters

    • Method Detail

      • getBoolean

        public java.util.Optional<java.lang.Boolean> getBoolean​(java.lang.String key)
        Description copied from interface: ConfigurationParameters
        Get the boolean configuration parameter stored under the specified key.

        If no such key is present in this ConfigurationParameters, an attempt will be made to look up the value as a JVM system property. If no such system property exists, an attempt will be made to look up the value in the JUnit Platform properties file.

        Specified by:
        getBoolean in interface ConfigurationParameters
        Parameters:
        key - the key to look up; never null or blank
        Returns:
        an Optional containing the value; never null but potentially empty
        See Also:
        ConfigurationParameters.get(String), Boolean.parseBoolean(String), System.getProperty(String), ConfigurationParameters.CONFIG_FILE_NAME
      • keySet

        public java.util.Set<java.lang.String> keySet()
        Description copied from interface: ConfigurationParameters
        Get the keys of all configuration parameters stored in this ConfigurationParameters.
        Specified by:
        keySet in interface ConfigurationParameters
        Returns:
        the set of keys contained in this ConfigurationParameters
      • getProperty

        private java.lang.String getProperty​(java.lang.String key)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • loadClasspathResource

        private static java.util.Properties loadClasspathResource​(java.lang.String configFileName)