Package org.ivoa.dm.executionbroker
Class DockerNetworkPort.DockerNetworkPortBuilder
java.lang.Object
org.ivoa.dm.executionbroker.DockerNetworkPort.DockerNetworkPortBuilder
- Enclosing class:
- DockerNetworkPort
A builder class for DockerNetworkPort, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionA flag to indicate whether this port should be listed in the access methods for the execution...The path component of an access URL.The network protocol to use, typically one of [UDP, TCP, HTTP, HTTPS], with a default of `TCP`. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
access
A flag to indicate whether this port should be listed in the access methods for the execution. -
internal
. -
external
. -
protocol
The network protocol to use, typically one of [UDP, TCP, HTTP, HTTPS], with a default of `TCP`. This should be defined as part of the description of the executable supplied by the client. The `HTTP` and `HTTPS` values further specify the protocol to use on top of `TCP`. Specifying `HTTPS` may help to meet firewall restrictions at some sites. -
path
The path component of an access URL. This should be defined as part of the description of the executable supplied by the client. This can be used to provide the path of a notebook within a JupyterNotebook container.
-
-
Constructor Details
-
DockerNetworkPortBuilder
public DockerNetworkPortBuilder()
-
-
Method Details
-
create
create a DockerNetworkPort from this builder.- Returns:
- an object initialized from the builder.
-