Package com.vaadin.flow.server.frontend
Class TaskRunDevBundleBuild
java.lang.Object
com.vaadin.flow.server.frontend.TaskRunDevBundleBuild
- All Implemented Interfaces:
FallibleCommand
Compiles the dev mode bundle if it is out of date.
Only used when running in dev mode without a dev server.
For internal use only. May be renamed or removed in a future release.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Runs the given command.protected static elemental.json.JsonObject
getDefaultPackageJson
(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder, elemental.json.JsonObject packageJson) static boolean
needsBuild
(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder) protected static boolean
needsBuildInternal
(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder)
-
Field Details
-
README
- See Also:
-
README_NOT_CREATED
- See Also:
-
-
Method Details
-
execute
Description copied from interface:FallibleCommand
Runs the given command.If execution fails then the command may throw an exception which may give a message and a cause of the failure.
- Specified by:
execute
in interfaceFallibleCommand
- Throws:
ExecutionFailedException
- if there is an execution error
-
needsBuild
public static boolean needsBuild(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder) -
needsBuildInternal
protected static boolean needsBuildInternal(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder) throws IOException - Throws:
IOException
-
getDefaultPackageJson
protected static elemental.json.JsonObject getDefaultPackageJson(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder, elemental.json.JsonObject packageJson)
-