Class DatatoolsProperties.DataModelDiagram

java.lang.Object
io.jmix.datatools.DatatoolsProperties.DataModelDiagram
Enclosing class:
DatatoolsProperties

public static class DatatoolsProperties.DataModelDiagram extends Object
  • Field Details

    • host

      protected final String host
      The server address. This can be either an IP address with custom port or not. It could also be a domain name.
    • path

      protected final String path
      The path under which the diagramming server serves its endpoints, appended to host. Set the property to an empty value when the server is deployed at the root context or when host already contains the path: the path of the host is not replaced but prepended, so keeping both results in a doubled prefix.
    • engineType

      protected final EngineType engineType
      Engine type. PlantUML by default
    • publicServerEnabled

      protected final boolean publicServerEnabled
      Whether the public PlantUML server (https://www.plantuml.com) may be used to render data model diagrams when no private host is configured. When a private host is set, this property has no effect. This is also gated by the global jmix.core.unsafe-runtime-features-enabled switch: if that switch is disabled, the public server is not used regardless of this property.
    • readTimeout

      protected final Duration readTimeout
      The maximum time to wait for a response from the diagramming server. Rendering a large data model may take the server longer than the default.
  • Constructor Details

    • DataModelDiagram

      public DataModelDiagram(@Nullable String host, @DefaultValue("plantuml") String path, @DefaultValue("PLANTUML") EngineType engineType, @DefaultValue("true") boolean publicServerEnabled, @DefaultValue("10s") Duration readTimeout)
  • Method Details