Package org.gnome.gio
Class SubprocessLauncher.Builder<B extends SubprocessLauncher.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gio.SubprocessLauncher.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
SubprocessLauncher
public static class SubprocessLauncher.Builder<B extends SubprocessLauncher.Builder<B>>
extends GObject.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finish building theSubprocessLauncherobject.setFlags(Set<SubprocessFlags> flags) Gio.SubprocessFlagsfor launched processes.setFlags(SubprocessFlags... flags) Gio.SubprocessFlagsfor launched processes.Methods inherited from class org.gnome.gobject.GObject.Builder
onNotifyMethods inherited from class org.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilderobject.
-
-
Method Details
-
build
Finish building theSubprocessLauncherobject. This will callGObject.withProperties(org.gnome.glib.Type, java.lang.String[], org.gnome.gobject.Value[])to create a new GObject instance, which is then cast toSubprocessLauncher.- Overrides:
buildin classGObject.Builder<B extends SubprocessLauncher.Builder<B>>- Returns:
- a new instance of
SubprocessLauncherwith the properties that were set in the Builder object.
-
setFlags
Gio.SubprocessFlagsfor launched processes.- Parameters:
flags- the value for theflagsproperty- Returns:
- the
Builderinstance is returned, to allow method chaining - Since:
- 2.40
-
setFlags
Gio.SubprocessFlagsfor launched processes.- Parameters:
flags- the value for theflagsproperty- Returns:
- the
Builderinstance is returned, to allow method chaining - Since:
- 2.40
-