You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.hilla.engine.

Class EngineConfiguration

java.lang.Object
com.vaadin.hilla.engine.EngineConfiguration
public class EngineConfiguration extends Object
  • Field Details

  • Method Details

    • loadDirectory

      public static EngineConfiguration loadDirectory(Path configDir) throws IOException

      Reads the configuration from the given base directory. Reads only files with the default name.

      Parameters:

      configDir - a directory that contains the configuration file.

      Returns:

      the configuration, or null if the configuration file does not exist

      Throws:

      IOException - if thrown while reading the configuration file

      ConfigurationException - if the configuration file is invalid

    • load

      public static EngineConfiguration load(File configFile) throws IOException

      Reads the configuration from the given file path.

      Parameters:

      configFile - a path to a configuration file.

      Returns:

      the configuration, or null if the configuration file does not exist

      Throws:

      IOException - if thrown while reading the configuration file

      ConfigurationException - if the configuration file is invalid

    • equals

      public boolean equals(Object o)

      Overrides:

      equals in class Object

    • getBaseDir

      public Path getBaseDir()
    • getBuildDir

      public Path getBuildDir()
    • getClassPath

      public Set<Path> getClassPath()
    • getClassesDir

      public Path getClassesDir()
    • getGenerator

      public GeneratorConfiguration getGenerator()
    • getOutputDir

      public Path getOutputDir()
    • getParser

      public ParserConfiguration getParser()
    • hashCode

      public int hashCode()

      Overrides:

      hashCode in class Object

    • store

      public void store(File file) throws IOException

      Throws:

      IOException

    • getOpenAPIFile

      public Path getOpenAPIFile(boolean isProductionMode)