Class UriLauncher.Builder<B extends UriLauncher.Builder<B>>

Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
UriLauncher

public static class UriLauncher.Builder<B extends UriLauncher.Builder<B>> extends GObject.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
Since:
4.10
  • Constructor Details

    • Builder

      protected Builder()
      Default constructor for a Builder object.
  • Method Details

    • build

      public UriLauncher build()
      Finish building the UriLauncher object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to UriLauncher.
      Overrides:
      build in class GObject.Builder<B extends UriLauncher.Builder<B>>
      Returns:
      a new instance of UriLauncher with the properties that were set in the Builder object.
    • setUri

      public B setUri(String uri)
      The uri to launch.
      Parameters:
      uri - the value for the uri property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      4.10