Class PlotOptionsSchemaGenerator

java.lang.Object
com.vaadin.flow.component.ai.chart.PlotOptionsSchemaGenerator

public final class PlotOptionsSchemaGenerator extends Object
Build-time generator that produces complete JSON schemas for each chart type's plot options, including property descriptions parsed from JavaDoc.

Invoked automatically during the Maven build via exec-maven-plugin. The output is consumed by PlotOptionsSchema at runtime.

  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Entry point for the build-time generation.
      Parameters:
      args - args[0] = chart model source directory, args[1] = output file path
      Throws:
      IOException