Class Extension
java.lang.Object
com.microservices.starter.core.environment.Extension
- All Implemented Interfaces:
Serializable
Describes additional Jars that provide mutating behavior on top of the base initializr install.
These extensions contribute Spring Java components, Spring environment, assets, and additional
liquibase changelogs. Presumably the maven coordinates described here are available from one or
more of the maven repositories defined in the project root pom.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Maven artifactId coordinate for the extension libraryComma separated list of artifactIds this extension depends on that are also contributing extension behavior.Maven groupId coordinate for the extension libraryWhether this extension should be managed in the project's liquibase changelogs.Whether this extension should be managed in the project's pom.xml.Version for the extension libraryint
hashCode()
void
setArtifactId
(String artifactId) Maven artifactId coordinate for the extension libraryvoid
setDependencyExtensionArtifactIds
(String dependencyExtensionArtifactIds) Comma separated list of artifactIds this extension depends on that are also contributing extension behavior.void
setGroupId
(String groupId) Maven groupId coordinate for the extension libraryvoid
setManageLiquibase
(Boolean manageLiquibase) Whether this extension should be managed in the project's liquibase changelogs.void
setManagePom
(Boolean managePom) Whether this extension should be managed in the project's pom.xml.void
setVersion
(String version) Version for the extension librarytoString()
-
Constructor Details
-
Extension
public Extension()
-
-
Method Details
-
getArtifactId
Maven artifactId coordinate for the extension library -
getGroupId
Maven groupId coordinate for the extension library -
getVersion
Version for the extension library -
getManagePom
Whether this extension should be managed in the project's pom.xml. Some project structure customizations may explicitly set up the pom (e.g. inherited from a parent pom) and it may be necessary to disable automatic inclusion of the resulting dependency. Optional. True by default. -
getManageLiquibase
Whether this extension should be managed in the project's liquibase changelogs. Some project structure customizations may explicitly set up the liquibase changelogs, and it may be necessary to disable automatic inclusion of changelogs inherited from the extension. Optional. True by default. -
getDependencyExtensionArtifactIds
Comma separated list of artifactIds this extension depends on that are also contributing extension behavior. These dependencies will also be considered when evaluating the output whengetManageLiquibase()
is true. Optional. -
setArtifactId
Maven artifactId coordinate for the extension library -
setGroupId
Maven groupId coordinate for the extension library -
setVersion
Version for the extension library -
setManagePom
Whether this extension should be managed in the project's pom.xml. Some project structure customizations may explicitly set up the pom (e.g. inherited from a parent pom) and it may be necessary to disable automatic inclusion of the resulting dependency. Optional. True by default. -
setManageLiquibase
Whether this extension should be managed in the project's liquibase changelogs. Some project structure customizations may explicitly set up the liquibase changelogs, and it may be necessary to disable automatic inclusion of changelogs inherited from the extension. Optional. True by default. -
setDependencyExtensionArtifactIds
Comma separated list of artifactIds this extension depends on that are also contributing extension behavior. These dependencies will also be considered when evaluating the output whengetManageLiquibase()
is true. Optional. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-