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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
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)
-
Field Details
-
README
- See Also:
-
README_NOT_CREATED
- See Also:
-
-
Method Details
-
execute
public void execute() throws com.vaadin.flow.server.ExecutionFailedException- Specified by:
execute
in interfacecom.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)
-