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.Whether to enable the Broadleaf OpenTelemetry starter and collectors when running the stack locally in Docker.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.Whether to include the OpenTelemetry Java agent in the project, as well as specific Broadleaf OpenTelemetry setup and support.Optionally configure a specific port for Tenant URL Admin resolution.Optionally configure a specific port for Tenant URL Application resolution.Deprecated.OS upgrades are now managed via the base image build process.Deprecated.Alpine images are no longer the primary secure offering.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) voidsetEnableOpenTelemetryInLocal(Boolean enableOpenTelemetryInLocal) Whether to enable the Broadleaf OpenTelemetry starter and collectors when running the stack locally in Docker.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.voidsetSupportOpenTelemetry(Boolean supportOpenTelemetry) Whether to include the OpenTelemetry Java agent in the project, as well as specific Broadleaf OpenTelemetry setup and support.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) Deprecated.OS upgrades are now managed via the base image build process.voidsetUseAlpineJavaImages(Boolean useAlpineJavaImages) Deprecated.Alpine images are no longer the primary secure offering.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
Deprecated.Alpine images are no longer the primary secure offering. The framework has transitioned to glibc-based secure images (e.g. Wolfi). This setting is ignored in favor of automatic image selection. -
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 is21. -
getUpgradeOSOnBuild
Deprecated.OS upgrades are now managed via the base image build process. This setting is ignored in favor of pre-hardened base images. -
getSupportOpenTelemetry
Whether to include the OpenTelemetry Java agent in the project, as well as specific Broadleaf OpenTelemetry setup and support. Optional. False by default. -
getEnableOpenTelemetryInLocal
Whether to enable the Broadleaf OpenTelemetry starter and collectors when running the stack locally in Docker. Optional. False by default. -
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
Deprecated.Alpine images are no longer the primary secure offering. The framework has transitioned to glibc-based secure images (e.g. Wolfi). This setting is ignored in favor of automatic image selection. -
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 is21. -
setUpgradeOSOnBuild
Deprecated.OS upgrades are now managed via the base image build process. This setting is ignored in favor of pre-hardened base images. -
setSupportOpenTelemetry
Whether to include the OpenTelemetry Java agent in the project, as well as specific Broadleaf OpenTelemetry setup and support. Optional. False by default. -
setEnableOpenTelemetryInLocal
Whether to enable the Broadleaf OpenTelemetry starter and collectors when running the stack locally in Docker. Optional. False by default. -
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
-