public class PublishPortExtensionInterpreter extends Object implements ExtensionInterpreter<PublishPort>
| Constructor and Description |
|---|
PublishPortExtensionInterpreter() |
| Modifier and Type | Method and Description |
|---|---|
com.github.dockerjava.api.command.CreateContainerCmd |
build(ServiceDescriptor sd,
com.github.dockerjava.api.command.CreateContainerCmd cmd,
PublishPort pb)
Updates the CreateContainerCmd instance to reflect the value of the interpreted annotation.
|
public com.github.dockerjava.api.command.CreateContainerCmd build(ServiceDescriptor sd, com.github.dockerjava.api.command.CreateContainerCmd cmd, PublishPort pb)
ExtensionInterpreterbuild in interface ExtensionInterpreter<PublishPort>sd - the whole configuration for this test including values from other annotations.cmd - the docker-java command that will instantiate the Docker container based on Dockerunit configpb - the annotation that is interpreted by this classCopyright © 2021. All rights reserved.