java.lang.Object
com.microservices.starter.core.environment.Extension
All Implemented Interfaces:
Serializable

public class Extension extends Object implements 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 Details

    • Extension

      public Extension()
  • Method Details

    • getArtifactId

      public String getArtifactId()
      Maven artifactId coordinate for the extension library
    • getGroupId

      public String getGroupId()
      Maven groupId coordinate for the extension library
    • getVersion

      public String getVersion()
      Version for the extension library
    • getManagePom

      public Boolean 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

      public Boolean 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

      public String 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 when getManageLiquibase() is true. Optional.
    • setArtifactId

      public void setArtifactId(String artifactId)
      Maven artifactId coordinate for the extension library
    • setGroupId

      public void setGroupId(String groupId)
      Maven groupId coordinate for the extension library
    • setVersion

      public void setVersion(String version)
      Version for the extension library
    • setManagePom

      public void setManagePom(Boolean managePom)
      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

      public void setManageLiquibase(Boolean manageLiquibase)
      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

      public void setDependencyExtensionArtifactIds(String dependencyExtensionArtifactIds)
      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 when getManageLiquibase() is true. Optional.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object