Interface BuildParametersMap


  • public interface BuildParametersMap
    This interface provides access to environment variables and system properties only. This interface does not provide access to config parameters.
    Since:
    4.0
    Author:
    Eugene Petrenko
    See Also:
    Constants
    • Method Detail

      • getEnvironmentVariables

        @NotNull
        java.util.Map<java.lang.String,​java.lang.String> getEnvironmentVariables()
        Returns:
        map containing only environment variables, i.e. all keys starting with 'env.' without that prefix
        Since:
        4.0
        See Also:
        Constants.ENV_PREFIX, Constants.SYSTEM_PREFIX
      • getSystemProperties

        @NotNull
        java.util.Map<java.lang.String,​java.lang.String> getSystemProperties()
        Returns:
        map containing only system properties, i.e. all keys starting with 'system.' without that prefix
        Since:
        4.0
        See Also:
        Constants.ENV_PREFIX, Constants.SYSTEM_PREFIX
      • getAllParameters

        @NotNull
        java.util.Map<java.lang.String,​java.lang.String> getAllParameters()
        Returns:
        all build parameters, i.e. environment variables with prefix 'env.' and system properties with prefix 'system.'
        Since:
        4.0
        See Also:
        Constants.ENV_PREFIX, Constants.SYSTEM_PREFIX