Class UserContentFilterStore.Builder<B extends UserContentFilterStore.Builder<B>>

java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.webkitgtk.UserContentFilterStore.Builder<B>
Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
UserContentFilterStore

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

    • Builder

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

    • build

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

      public B setPath(String path)
      The directory used for filter storage. This path is used as the base directory where user content filters are stored on disk.
      Parameters:
      path - the value for the path property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      2.24