Package io.jmix.datatools
Class DatatoolsProperties.DataModelDiagram
java.lang.Object
io.jmix.datatools.DatatoolsProperties.DataModelDiagram
- Enclosing class:
DatatoolsProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final EngineTypeEngine type.protected final StringThe server address.protected final booleanWhether the public PlantUML server (https://www.plantuml.com) may be used to render data model diagrams when no privatehostis configured. -
Constructor Summary
ConstructorsConstructorDescriptionDataModelDiagram(@Nullable String host, EngineType engineType, boolean publicServerEnabled) -
Method Summary
-
Field Details
-
host
The server address. This can be either an IP address with custom port or not. It could also be a domain name. -
engineType
Engine type. PlantUML by default -
publicServerEnabled
protected final boolean publicServerEnabledWhether the public PlantUML server (https://www.plantuml.com) may be used to render data model diagrams when no privatehostis configured. When a private host is set, this property has no effect. This is also gated by the globaljmix.core.unsafe-runtime-features-enabledswitch: if that switch is disabled, the public server is not used regardless of this property.
-
-
Constructor Details
-
DataModelDiagram
public DataModelDiagram(@Nullable String host, @DefaultValue("PLANTUML") EngineType engineType, @DefaultValue("true") boolean publicServerEnabled)
-
-
Method Details
-
getEngineType
-
getHost
-
isPublicServerEnabled
public boolean isPublicServerEnabled()- See Also:
-