public static class Manager.Config.Builder
extends java.lang.Object
Manager.Config with
the given parameters. Because all managers require a NotificationListener, an instance must
be provided in the Builder's constructor.| Constructor and Description |
|---|
Builder(org.opendof.core.oal.DOFSystem system,
org.opendof.core.oal.DOFObjectID managerID,
NotificationListener notificationListener)
Constructs a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
Manager.Config |
build()
Constructs and returns a
Manager.Config that contains all of the configuration parameters set in this Builder. |
public Builder(org.opendof.core.oal.DOFSystem system,
org.opendof.core.oal.DOFObjectID managerID,
NotificationListener notificationListener)
system - The DOFSystem instance allowing this class to use OpenDOF to facilitate network communications.
This must not be null.managerID - The ID of the manager.notificationListener - The NotificationListener for the manager. This must not be null.public Manager.Config build() throws java.lang.Exception
Manager.Config that contains all of the configuration parameters set in this Builder.java.lang.Exception - Thrown if a valid Config cannot be constructed.