Interface SupportsFlutterServerLaunchTimeoutOption<T extends BaseOptions<T>>

    • Field Detail

      • FLUTTER_SERVER_LAUNCH_TIMEOUT_OPTION

        static final java.lang.String FLUTTER_SERVER_LAUNCH_TIMEOUT_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setFlutterServerLaunchTimeout

        default T setFlutterServerLaunchTimeout​(java.time.Duration timeout)
        Timeout to wait for FlutterServer to be pingable, e.g. finishes building. Defaults to 60000ms.
        Parameters:
        timeout - Timeout to wait until FlutterServer is listening.
        Returns:
        self instance for chaining.
      • getFlutterServerLaunchTimeout

        default java.util.Optional<java.time.Duration> getFlutterServerLaunchTimeout()
        Get the maximum timeout to wait until FlutterServer is listening.
        Returns:
        Timeout value.