public class BridgeOptions extends BridgeOptions
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_POINT_TO_POINT |
Constructor and Description |
---|
BridgeOptions() |
BridgeOptions(BridgeOptions that) |
BridgeOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
BridgeOptions |
addInboundPermitted(PermittedOptions permitted)
Adds an inbound permitted option to the current
BridgeOptions . |
BridgeOptions |
addOutboundPermitted(PermittedOptions permitted)
Adds an outbound permitted option to the current
BridgeOptions . |
boolean |
isPointToPoint() |
BridgeOptions |
setInboundPermitteds(List<PermittedOptions> inboundPermitted)
Sets the list of inbound permitted options.
|
BridgeOptions |
setOutboundPermitteds(List<PermittedOptions> outboundPermitted)
Sets the list of outbound permitted options.
|
BridgeOptions |
setPointToPoint(boolean v) |
JsonObject |
toJson()
Serializes the current
BridgeOptions to JSON. |
getInboundPermitteds, getOutboundPermitteds
public static final boolean DEFAULT_POINT_TO_POINT
public BridgeOptions()
public BridgeOptions(BridgeOptions that)
public BridgeOptions(JsonObject json)
public JsonObject toJson()
BridgeOptions
BridgeOptions
to JSON. This method uses the generated converter.toJson
in class BridgeOptions
public BridgeOptions setPointToPoint(boolean v)
public boolean isPointToPoint()
public BridgeOptions setInboundPermitteds(List<PermittedOptions> inboundPermitted)
BridgeOptions
setInboundPermitteds
in class BridgeOptions
inboundPermitted
- the list to use, must not be null
. This method use the direct list reference
(and doesn't create a copy).BridgeOptions
.public BridgeOptions setOutboundPermitteds(List<PermittedOptions> outboundPermitted)
BridgeOptions
setOutboundPermitteds
in class BridgeOptions
outboundPermitted
- the list to use, must not be null
. This method use the direct list reference
(and doesn't create a copy).BridgeOptions
.public BridgeOptions addInboundPermitted(PermittedOptions permitted)
BridgeOptions
BridgeOptions
.addInboundPermitted
in class BridgeOptions
permitted
- the inbound permittedBridgeOptions
.public BridgeOptions addOutboundPermitted(PermittedOptions permitted)
BridgeOptions
BridgeOptions
.addOutboundPermitted
in class BridgeOptions
permitted
- the outbound permittedBridgeOptions
.Copyright © 2022 Eclipse. All rights reserved.