Package fish.payara.docker.instance
Class JsonRequestConstructor
- java.lang.Object
-
- fish.payara.docker.instance.JsonRequestConstructor
-
public class JsonRequestConstructor extends Object
Helper class that constructs the JSON requests used for creating Docker Containers.- Author:
- Andrew Pielage
-
-
Constructor Summary
Constructors Constructor Description JsonRequestConstructor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static jakarta.json.JsonObjectconstructJsonRequest(Properties containerConfig, Node node, Server server, String dasHost, String dasPort)Builds the Json Object from all supplied configuration to send to Docker.
-
-
-
Method Detail
-
constructJsonRequest
public static jakarta.json.JsonObject constructJsonRequest(Properties containerConfig, Node node, Server server, String dasHost, String dasPort)
Builds the Json Object from all supplied configuration to send to Docker.- Parameters:
node- The Payara Server nodedasHost- The IP address of the DASdasPort- The admin port of the DAS- Returns:
- Json Object representing all supplied and default Docker container configuration.
-
-