Class Project
java.lang.Object
com.microservices.starter.core.environment.Project
- All Implemented Interfaces:
Serializable
Client specific maven project structure information
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe Camel Cluster Service implementation type to use, per environment.The major version of java to use when creating container images for flex components.Values to set as overrides for the same properties declared in the starter parent.Whether to include sample code (autoconfiguration, sample domain, and test) for an enabled service library component during project structure generation.The starter parent version to target for this project.Optionally configure a specific port for Tenant URL Admin resolution.Optionally configure a specific port for Tenant URL Application resolution.Whether an OS upgrade command should be executed during the Dockerfile construction for a module (e.g.Whether Alpine Linux Temurin java images should be used for flexpackage image generation, as well as for config server and gateway image references.inthashCode()voidsetAdminStarterAssemblyVersionOverride(String adminStarterAssemblyVersionOverride) voidsetAdminStarterDockerVersionOverride(String adminStarterDockerVersionOverride) voidsetArtifactIdPrefix(String artifactIdPrefix) voidsetClusterServiceType(ClusterServiceType clusterServiceType) The Camel Cluster Service implementation type to use, per environment.voidsetCommerceStarterAssemblyVersionOverride(String commerceStarterAssemblyVersionOverride) voidsetCommerceStarterDockerVersionOverride(String commerceStarterDockerVersionOverride) voidsetCommerceStarterThemedWebAssemblyVersionMapOverride(String commerceStarterThemedWebAssemblyVersionMapOverride) voidsetCommerceStarterThemedWebDockerVersionMapOverride(String commerceStarterThemedWebDockerVersionMapOverride) voidsetCommerceStarterThemeOverride(String commerceStarterThemeOverride) voidsetConfigServerVersionOverride(String configServerVersionOverride) voidsetGatewayVersionOverride(String gatewayVersionOverride) voidsetGroupId(String groupId) voidsetJavaMajorVersion(String javaMajorVersion) The major version of java to use when creating container images for flex components.voidsetJpaCoreVersionOverride(String jpaCoreVersionOverride) voidsetOpenApiAssemblyVersionOverride(String openApiAssemblyVersionOverride) voidsetOpenApiDockerVersionOverride(String openApiDockerVersionOverride) voidsetPackageName(String packageName) voidsetReleaseTrainArtifactIdOverride(String releaseTrainArtifactIdOverride) voidsetReleaseTrainGroupIdOverride(String releaseTrainGroupIdOverride) voidsetReleaseTrainVersionOverride(String releaseTrainVersionOverride) Values to set as overrides for the same properties declared in the starter parent.voidsetSampleCode(Boolean sampleCode) Whether to include sample code (autoconfiguration, sample domain, and test) for an enabled service library component during project structure generation.voidsetSearchVersionOverride(String searchVersionOverride) voidsetStarterParentVersion(String starterParentVersion) The starter parent version to target for this project.voidsetTenantUrlResolverAdminPort(String tenantUrlResolverAdminPort) Optionally configure a specific port for Tenant URL Admin resolution.voidsetTenantUrlResolverApplicationPort(String tenantUrlResolverApplicationPort) Optionally configure a specific port for Tenant URL Application resolution.voidsetUpgradeOSOnBuild(Boolean upgradeOSOnBuild) Whether an OS upgrade command should be executed during the Dockerfile construction for a module (e.g.voidsetUseAlpineJavaImages(Boolean useAlpineJavaImages) Whether Alpine Linux Temurin java images should be used for flexpackage image generation, as well as for config server and gateway image references.voidsetVersion(String version) toString()
-
Constructor Details
-
Project
public Project()
-
-
Method Details
-
getGroupId
-
getArtifactIdPrefix
-
getPackageName
-
getVersion
-
getClusterServiceType
The Camel Cluster Service implementation type to use, per environment. Valid values arefile,kubernetes, andzookeeper. Optional. -
getSampleCode
Whether to include sample code (autoconfiguration, sample domain, and test) for an enabled service library component during project structure generation. Optional. False by default. If declared at theComponentlevel, that value will override this one. -
getStarterParentVersion
The starter parent version to target for this project. This drives a harmonized combination of related dependency versions, including release train. The starter parent version generally matches up with a release train version. Required. -
getUseAlpineJavaImages
Whether Alpine Linux Temurin java images should be used for flexpackage image generation, as well as for config server and gateway image references. Alpine images will be the most secure with the fewest OS vulns. Optional. True by default. Note, the Alpine Linux Temurin Java image is available only in amd64 at Java 17, so arm64-based machines must be capable of emulating (e.g. qemu or rosetta2). Such a situation is suitable for development. However, if an arm64 processor is being used in production, then this setting should be set to false for the performance benefit. Note, for Java 21, the alpine image is truly multi-platform and should be safely consumed on both amd64 and arm64. -
getJavaMajorVersion
The major version of java to use when creating container images for flex components. This will determine the base image used based on a particular Java version when executing containerized components in the target execution environment (e.g. docker compose or kubernetes). Valid values are17and21. The default value is17. -
getUpgradeOSOnBuild
Whether an OS upgrade command should be executed during the Dockerfile construction for a module (e.g. apk upgrade). Optional. False by default, which will avoid unnecessary layer churn. -
getTenantUrlResolverApplicationPort
Optionally configure a specific port for Tenant URL Application resolution. If nothing is specified, theFlexPackageEnvironmentPostProcessorwill attempt to find the primary port for the corresponding commerce gateway to set (@code UrlResolverProperties). Tenant'sDefaultTenantResolverwill by default validate all NON-standard ports configured in (@code UrlResolverProperties) i.e. not "80" or "443". Setting this to a standard port allows for validation of the domain without the port as long as the port is not passed in with the url being resolved. -
getTenantUrlResolverAdminPort
Optionally configure a specific port for Tenant URL Admin resolution. If nothing is specified, theFlexPackageEnvironmentPostProcessorwill attempt to find the primary port for the corresponding admin gateway to set (@code UrlResolverProperties). Tenant'sDefaultTenantResolverwill by default validate all NON-standard ports configured in (@code UrlResolverProperties) i.e. not "80" or "443". Setting this to a standard port allows for validation of the domain without the port as long as the port is not passed in with the url being resolved. -
getReleaseTrainVersionOverride
Values to set as overrides for the same properties declared in the starter parent. If declared, one or more properties with the override values are generated in the project pom files during aflex-maven-plugingenerate goal execution. Optional. -
getReleaseTrainGroupIdOverride
-
getReleaseTrainArtifactIdOverride
-
getJpaCoreVersionOverride
-
getGatewayVersionOverride
-
getAdminStarterDockerVersionOverride
-
getAdminStarterAssemblyVersionOverride
-
getCommerceStarterThemedWebDockerVersionMapOverride
-
getCommerceStarterThemedWebAssemblyVersionMapOverride
-
getCommerceStarterThemeOverride
-
getCommerceStarterDockerVersionOverride
-
getCommerceStarterAssemblyVersionOverride
-
getSearchVersionOverride
-
getOpenApiDockerVersionOverride
-
getOpenApiAssemblyVersionOverride
-
getConfigServerVersionOverride
-
setGroupId
-
setArtifactIdPrefix
-
setPackageName
-
setVersion
-
setClusterServiceType
The Camel Cluster Service implementation type to use, per environment. Valid values arefile,kubernetes, andzookeeper. Optional. -
setSampleCode
Whether to include sample code (autoconfiguration, sample domain, and test) for an enabled service library component during project structure generation. Optional. False by default. If declared at theComponentlevel, that value will override this one. -
setStarterParentVersion
The starter parent version to target for this project. This drives a harmonized combination of related dependency versions, including release train. The starter parent version generally matches up with a release train version. Required. -
setUseAlpineJavaImages
Whether Alpine Linux Temurin java images should be used for flexpackage image generation, as well as for config server and gateway image references. Alpine images will be the most secure with the fewest OS vulns. Optional. True by default. Note, the Alpine Linux Temurin Java image is available only in amd64 at Java 17, so arm64-based machines must be capable of emulating (e.g. qemu or rosetta2). Such a situation is suitable for development. However, if an arm64 processor is being used in production, then this setting should be set to false for the performance benefit. Note, for Java 21, the alpine image is truly multi-platform and should be safely consumed on both amd64 and arm64. -
setJavaMajorVersion
The major version of java to use when creating container images for flex components. This will determine the base image used based on a particular Java version when executing containerized components in the target execution environment (e.g. docker compose or kubernetes). Valid values are17and21. The default value is17. -
setUpgradeOSOnBuild
Whether an OS upgrade command should be executed during the Dockerfile construction for a module (e.g. apk upgrade). Optional. False by default, which will avoid unnecessary layer churn. -
setTenantUrlResolverApplicationPort
Optionally configure a specific port for Tenant URL Application resolution. If nothing is specified, theFlexPackageEnvironmentPostProcessorwill attempt to find the primary port for the corresponding commerce gateway to set (@code UrlResolverProperties). Tenant'sDefaultTenantResolverwill by default validate all NON-standard ports configured in (@code UrlResolverProperties) i.e. not "80" or "443". Setting this to a standard port allows for validation of the domain without the port as long as the port is not passed in with the url being resolved. -
setTenantUrlResolverAdminPort
Optionally configure a specific port for Tenant URL Admin resolution. If nothing is specified, theFlexPackageEnvironmentPostProcessorwill attempt to find the primary port for the corresponding admin gateway to set (@code UrlResolverProperties). Tenant'sDefaultTenantResolverwill by default validate all NON-standard ports configured in (@code UrlResolverProperties) i.e. not "80" or "443". Setting this to a standard port allows for validation of the domain without the port as long as the port is not passed in with the url being resolved. -
setReleaseTrainVersionOverride
Values to set as overrides for the same properties declared in the starter parent. If declared, one or more properties with the override values are generated in the project pom files during aflex-maven-plugingenerate goal execution. Optional. -
setReleaseTrainGroupIdOverride
-
setReleaseTrainArtifactIdOverride
-
setJpaCoreVersionOverride
-
setGatewayVersionOverride
-
setAdminStarterDockerVersionOverride
-
setAdminStarterAssemblyVersionOverride
-
setCommerceStarterThemedWebDockerVersionMapOverride
public void setCommerceStarterThemedWebDockerVersionMapOverride(String commerceStarterThemedWebDockerVersionMapOverride) -
setCommerceStarterThemedWebAssemblyVersionMapOverride
public void setCommerceStarterThemedWebAssemblyVersionMapOverride(String commerceStarterThemedWebAssemblyVersionMapOverride) -
setCommerceStarterThemeOverride
-
setCommerceStarterDockerVersionOverride
-
setCommerceStarterAssemblyVersionOverride
public void setCommerceStarterAssemblyVersionOverride(String commerceStarterAssemblyVersionOverride) -
setSearchVersionOverride
-
setOpenApiDockerVersionOverride
-
setOpenApiAssemblyVersionOverride
-
setConfigServerVersionOverride
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-