Class Service.Builder<B extends Service.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gio.DBusProxy.Builder<B>
org.gnome.secret.Service.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
Backend.Builder<B>, BuilderInterface
- Enclosing class:
Service
public static class Service.Builder<B extends Service.Builder<B>>
extends DBusProxy.Builder<B>
implements Backend.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DBusProxy.Builder
onGPropertiesChanged, onGSignal, setGBusType, setGConnection, setGDefaultTimeout, setGFlags, setGFlags, setGInterfaceInfo, setGInterfaceName, setGName, setGObjectPathMethods inherited from class GObject.Builder
onNotifyMethods inherited from class Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValuesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Backend.Builder
setFlags, setFlagsMethods inherited from interface BuilderInterface
addBuilderProperty, connect, connect, getArena
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilderobject.
-
-
Method Details
-
build
Finish building theServiceobject. This will callGObject.withProperties(Type, String[], Value[])to create a new GObject instance, which is then cast toService.- Overrides:
buildin classDBusProxy.Builder<B extends Service.Builder<B>>- Returns:
- a new instance of
Servicewith the properties that were set in the Builder object.
-