Class Docker
java.lang.Object
com.microservices.starter.core.environment.Docker
- All Implemented Interfaces:
Serializable
Describes attributes specific to the generation of docker-compose.yml when executing the
mvn docker-compose:generate
command. Also cover general Docker image related information.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Comma delimited list of component and supporting item names to include in the docker-compose file.The domain where Docker images generated during a maven build are deployed.The port exposed by the Docker repo used for deployment.The prefix used as part of the Docker image tag naming during maven build.Java opts that should be added as an environment variable to the service declaration in the docker-compose.yml file.int
hashCode()
void
setComponents
(String components) Comma delimited list of component and supporting item names to include in the docker-compose file.void
setImageDeploymentRepoDomain
(String imageDeploymentRepoDomain) The domain where Docker images generated during a maven build are deployed.void
setImageDeploymentRepoPort
(String imageDeploymentRepoPort) The port exposed by the Docker repo used for deployment.void
setImageTagPrefix
(String imageTagPrefix) The prefix used as part of the Docker image tag naming during maven build.void
setUniversalJavaOpts
(String universalJavaOpts) Java opts that should be added as an environment variable to the service declaration in the docker-compose.yml file.toString()
-
Constructor Details
-
Docker
public Docker()
-
-
Method Details
-
getComponents
Comma delimited list of component and supporting item names to include in the docker-compose file. -
getImageDeploymentRepoDomain
The domain where Docker images generated during a maven build are deployed. -
getImageDeploymentRepoPort
The port exposed by the Docker repo used for deployment. -
getImageTagPrefix
The prefix used as part of the Docker image tag naming during maven build. -
getUniversalJavaOpts
Java opts that should be added as an environment variable to the service declaration in the docker-compose.yml file. -
setComponents
Comma delimited list of component and supporting item names to include in the docker-compose file. -
setImageDeploymentRepoDomain
The domain where Docker images generated during a maven build are deployed. -
setImageDeploymentRepoPort
The port exposed by the Docker repo used for deployment. -
setImageTagPrefix
The prefix used as part of the Docker image tag naming during maven build. -
setUniversalJavaOpts
Java opts that should be added as an environment variable to the service declaration in the docker-compose.yml file. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-