Package org.gnome.gio
Class DBusObjectSkeleton.Builder<B extends DBusObjectSkeleton.Builder<B>>
java.lang.Object
org.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finish building theDBusObjectSkeletonobject.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
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 theDBusObjectSkeletonobject. 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:
buildin classGObject.Builder<B extends DBusObjectSkeleton.Builder<B>>- Returns:
- a new instance of
DBusObjectSkeletonwith 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
Builderinstance is returned, to allow method chaining - Since:
- 2.30
- See Also:
-