Class TaskRunDevBundleBuild

java.lang.Object
io.jmix.flowui.devserver.frontend.TaskRunDevBundleBuild
All Implemented Interfaces:
com.vaadin.flow.server.frontend.FallibleCommand

public class TaskRunDevBundleBuild extends Object implements com.vaadin.flow.server.frontend.FallibleCommand
Compiles the dev mode bundle if it is out of date.

Only used when running in dev mode without a dev server.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected static elemental.json.JsonObject
    getDefaultPackageJson(Options options, com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner frontendDependencies, com.vaadin.flow.server.frontend.scanner.ClassFinder finder, elemental.json.JsonObject packageJson)
     
    static boolean
    needsBuild(Options options, com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner frontendDependencies, com.vaadin.flow.theme.ThemeDefinition themeDefinition, com.vaadin.flow.server.frontend.scanner.ClassFinder finder)
     
    protected static boolean
    needsBuildInternal(Options options, com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner frontendDependencies, com.vaadin.flow.theme.ThemeDefinition themeDefinition, com.vaadin.flow.server.frontend.scanner.ClassFinder finder)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • execute

      public void execute() throws com.vaadin.flow.server.ExecutionFailedException
      Specified by:
      execute in interface com.vaadin.flow.server.frontend.FallibleCommand
      Throws:
      com.vaadin.flow.server.ExecutionFailedException
    • needsBuild

      public static boolean needsBuild(Options options, com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner frontendDependencies, com.vaadin.flow.theme.ThemeDefinition themeDefinition, com.vaadin.flow.server.frontend.scanner.ClassFinder finder)
    • needsBuildInternal

      protected static boolean needsBuildInternal(Options options, com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner frontendDependencies, com.vaadin.flow.theme.ThemeDefinition themeDefinition, com.vaadin.flow.server.frontend.scanner.ClassFinder finder) throws IOException
      Throws:
      IOException
    • getDefaultPackageJson

      protected static elemental.json.JsonObject getDefaultPackageJson(Options options, com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner frontendDependencies, com.vaadin.flow.server.frontend.scanner.ClassFinder finder, elemental.json.JsonObject packageJson)