public class PortMapping extends Object
| Constructor and Description |
|---|
PortMapping(List<String> portMappings,
Properties projProperties)
Create the mapping from a configuration.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonArray |
toJson()
Return the content of the mapping as an array with all specifications as given
|
public PortMapping(List<String> portMappings, Properties projProperties)
portMappings - a list of configuration strings where each string hast the format
host_ip:host_port:container_port. If the host-port is non-numeric it is
assumed to be a variable (which later might be filled in with the dynamically created port).projProperties - project propertiesCopyright © 2024. All rights reserved.