Package org.gnome.gio
Class DBusObjectSkeleton.Builder<B extends DBusObjectSkeleton.Builder<B>>
java.lang.Object
io.github.jwharm.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gio.DBusObjectSkeleton.Builder<B>
- Type Parameters:
B
- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
DBusObjectSkeleton
public static class DBusObjectSkeleton.Builder<B extends DBusObjectSkeleton.Builder<B>>
extends GObject.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finish building theDBusObjectSkeleton
object.Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized.setGObjectPath
(String gObjectPath) The object path where the object is exported.Methods inherited from class org.gnome.gobject.GObject.Builder
onNotify
Methods inherited from class io.github.jwharm.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilder
object.
-
-
Method Details
-
build
Finish building theDBusObjectSkeleton
object. 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 toDBusObjectSkeleton
.- Overrides:
build
in classGObject.Builder<B extends DBusObjectSkeleton.Builder<B>>
- Returns:
- a new instance of
DBusObjectSkeleton
with the properties that were set in the Builder object.
-
setGObjectPath
-
onAuthorizeMethod
Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized.This signal is like
GDBusInterfaceSkeleton
'sGDBusInterfaceSkeleton
::g-authorize-method signal, except that it is for the enclosing object.The default class handler just returns
true
.- Parameters:
handler
- the signal handler- Returns:
- the
Builder
instance is returned, to allow method chaining - See Also:
-