public class BridgeOptions extends Object
Constructor and Description |
---|
BridgeOptions()
Creates a new instance of
BridgeOptions , without any inbound and outbound permitted. |
BridgeOptions(BridgeOptions that)
Creates a new instance of
BridgeOptions by copying the content of another BridgeOptions |
BridgeOptions(JsonObject json)
Creates a new instance of
BridgeOptions from its JSON representation. |
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 . |
List<PermittedOptions> |
getInboundPermitteds() |
List<PermittedOptions> |
getOutboundPermitteds() |
BridgeOptions |
setInboundPermitteds(List<PermittedOptions> inboundPermitted)
Sets the list of inbound permitted options.
|
BridgeOptions |
setOutboundPermitteds(List<PermittedOptions> outboundPermitted)
Sets the list of outbound permitted options.
|
JsonObject |
toJson()
Serializes the current
BridgeOptions to JSON. |
public BridgeOptions()
BridgeOptions
, without any inbound and outbound permitted.public BridgeOptions(BridgeOptions that)
BridgeOptions
by copying the content of another BridgeOptions
that
- the BridgeOptions
to copy.public BridgeOptions(JsonObject json)
BridgeOptions
from its JSON representation.
This method uses the generated converter.json
- the serialized BridgeOptions
BridgeOptionsConverter
public JsonObject toJson()
BridgeOptions
to JSON. This method uses the generated converter.public BridgeOptions addInboundPermitted(PermittedOptions permitted)
BridgeOptions
.permitted
- the inbound permittedBridgeOptions
.public List<PermittedOptions> getInboundPermitteds()
public BridgeOptions setInboundPermitteds(List<PermittedOptions> inboundPermitted)
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 addOutboundPermitted(PermittedOptions permitted)
BridgeOptions
.permitted
- the outbound permittedBridgeOptions
.public List<PermittedOptions> getOutboundPermitteds()
public BridgeOptions setOutboundPermitteds(List<PermittedOptions> outboundPermitted)
outboundPermitted
- the list to use, must not be null
. This method use the direct list reference
(and doesn't create a copy).BridgeOptions
.Copyright © 2023 Eclipse. All rights reserved.