Class CmsAutoSetup

java.lang.Object
org.opencms.setup.CmsAutoSetup

public class CmsAutoSetup extends Object
A bean to perform a OpenCms setup automatically.

Since:
9.0
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args)
      Main program entry point when started via the command line.

      Parameters:
      args - parameters passed to the application via the command line
    • initSetupBean

      public void initSetupBean()
      Initializes the setup bean with the auto setup properties.

    • run

      public void run() throws Exception
      Performs the setup.

      Throws:
      Exception - in case the setup fails
    • setupDB

      public void setupDB() throws Exception
      Creates DB and tables when necessary.

      Throws:
      Exception - in case creating DB or tables fails