Class ApplicationModulesExporter

java.lang.Object
org.springframework.modulith.core.util.ApplicationModulesExporter

public class ApplicationModulesExporter extends Object
Export the structure of ApplicationModules as JSON.
Author:
Oliver Drotbohm
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args)
      Simple main method to render the ApplicationModules instance defined for the Java package given as first argument.
      Parameters:
      args - a single-element array containing a Java package name to bootstrap an ApplicationModules instance from.
    • toJson

      public String toJson()
      Returns the ApplicationModules structure as JSON String.
      Returns:
      will never be null.