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
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Runs the given command.protected static elemental.json.JsonObjectgetDefaultPackageJson(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder, elemental.json.JsonObject packageJson) static booleanneedsBuild(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder) protected static booleanneedsBuildInternal(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder)
-
Field Details
-
README
- See Also:
-
README_NOT_CREATED
- See Also:
-
-
Method Details
-
execute
Description copied from interface:FallibleCommandRuns 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:
executein 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)
-