Interface EnvironmentProvider

  • All Known Implementing Classes:
    EnvironmentProvider.DirectEnvironmentProvider

    public interface EnvironmentProvider
    Provides access to system properties and environment variables. Most of the time using DIRECT should suffice, but custom implementations may access them through some other APIs.
    • Method Detail

      • getSystemProperty

        @Nullable
        java.lang.String getSystemProperty​(@NonNull
                                           java.lang.String key)
      • getEnvVariable

        @Nullable
        java.lang.String getEnvVariable​(@NonNull
                                        java.lang.String key)
      • getFileSystem

        @NonNull
        default java.nio.file.FileSystem getFileSystem()