Interface SettingsController


  • public interface SettingsController
    Settings used by the repository framework. TODO: implement more settings.
    • Method Detail

      • getForceHttp

        boolean getForceHttp()
        Returns:
        If true, all connections should be made using HTTP rather than HTTPS.
      • setForceHttp

        void setForceHttp​(boolean force)
        Parameters:
        force - If true, all connections should be made using HTTP rather than HTTPS.
      • getDisableSdkPatches

        boolean getDisableSdkPatches()
        Returns:
        If true, SDK updates should be performed using full installer (optimizes for local installation time, but not for download time). Recommended for lower-end hardware.
      • setDisableSdkPatches

        void setDisableSdkPatches​(boolean disable)
        Parameters:
        disable - If true, SDK updates should be performed using full installer (optimizes for local installation time, but not for download time). Recommended for lower-end hardware.
      • getChannel

        @Nullable
        Channel getChannel()
        Gets the current channel. Only packages of channels at least as stable as specified will be downloaded.
      • getProxy

        @NonNull
        default java.net.Proxy getProxy()
        Gets the proxy to use for http connections. If no proxy is configured, returns Proxy.NO_PROXY.