Class DockerInternalPort

java.lang.Object
org.ivoa.dm.executionbroker.DockerInternalPort
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations

@Embeddable @VoDml(id="execbroker:DockerInternalPort", role=dataType) public class DockerInternalPort extends Object implements org.ivoa.vodml.jpa.JPAManipulations
Details of an internal network port on a container. dataType: DockerInternalPort
  • Field Details

    • port

      @VoDml(id="execbroker:DockerInternalPort.port", role=attribute, type="ivoa:integer", typeRole=primitiveType) protected Integer port
      The port number on the container to publish. This should be defined as part of the description of the executable. : Attribute port : multiplicity 1
  • Constructor Details

    • DockerInternalPort

      public DockerInternalPort()
      Creates a new DockerInternalPort
    • DockerInternalPort

      public DockerInternalPort(Integer port)
      full parameter constructor.
      Parameters:
      port - The port number on the container to publish. This should be defined as part of the description of the executable.
    • DockerInternalPort

      public DockerInternalPort(DockerInternalPort other)
      Copy Constructor. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
  • Method Details

    • updateUsing

      public void updateUsing(DockerInternalPort other)
      Update this object with the content of the given object. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
    • getPort

      public Integer getPort()
      Returns port Attribute.
      Returns:
      port Attribute
    • setPort

      public void setPort(Integer pPort)
      Set port Attribute.
      Parameters:
      pPort - value to set
    • withPort

      public DockerInternalPort withPort(Integer pPort)
      fluent setter for port Attribute.
      Parameters:
      pPort - value to set
      Returns:
      DockerInternalPort
    • createDockerInternalPort

      public static DockerInternalPort createDockerInternalPort(Consumer<DockerInternalPort.DockerInternalPortBuilder> f)
      create a DockerInternalPort in functional builder style.
      Parameters:
      f - the functional builder.
      Returns:
      an object initialized from the builder.
    • forceLoad

      public void forceLoad()
      Specified by:
      forceLoad in interface org.ivoa.vodml.jpa.JPAManipulations