public interface PluginAdapterBase
| Modifier and Type | Method and Description |
|---|---|
File |
applicationProperties()
Application properties file in Spring project.
|
String |
buildFolder()
The folder where everything is built into.
|
default Lookup |
createLookup(ClassFinder classFinder)
Creates a
Lookup for the ClassFinder. |
boolean |
eagerServerLoad()
Whether or not insert the initial Uidl object in the bootstrap
index.html.
|
File |
frontendDirectory()
A directory with project's frontend source files.
|
File |
generatedFolder()
The folder where flow will put generated files that will be used by
webpack.
|
File |
generatedTsFolder()
The folder where flow will put TS API files for client projects.
|
ClassFinder |
getClassFinder()
The
ClassFinder that should be used. |
Set<File> |
getJarFiles()
The Jar Files that would be searched.
|
String |
getUseDeprecatedV14Bootstrapping()
Whether or not we are running in legacy V14 bootstrap mode.
|
boolean |
isDebugEnabled()
Checks the debug Mode.
|
boolean |
isJarProject()
Indicates that it is a Jar Project.
|
default boolean |
isUseDeprecatedV14Bootstrapping()
Check if the plugin is running in legacy V14 bootstrap mode or not.
|
File |
javaResourceFolder()
Java resource folder.
|
File |
javaSourceFolder()
Java source folders for scanning.
|
void |
logDebug(CharSequence debugMessage)
Delegates a debug-Message to a logger.
|
void |
logError(CharSequence warning,
Throwable e)
Delegates a error-Message to a logger.
|
void |
logInfo(CharSequence infoMessage)
Delegates a info-Message to a logger.
|
void |
logWarn(CharSequence warningMessage)
delegates a warning-Message to a logger.
|
void |
logWarn(CharSequence warningMessage,
Throwable throwable)
Delegates a warning-Message to a logger.
|
boolean |
nodeAutoUpdate()
Whether the alternative node may be autoupdated or not.
|
URI |
nodeDownloadRoot()
Download node.js from this URL.
|
String |
nodeVersion()
The node.js version to be used when node.js is installed automatically by
Vaadin, for example `"v12.18.3"`.
|
File |
npmFolder()
The folder where `package.json` file is located.
|
File |
openApiJsonFile()
Default generated path of the OpenAPI json.
|
boolean |
pnpmEnable()
Instructs to use pnpm for installing npm frontend resources.
|
boolean |
productionMode()
Whether or not we are running in productionMode.
|
Path |
projectBaseDirectory()
The projects root Directory.
|
boolean |
requireHomeNodeExec()
Whether vaadin home node executable usage is forced.
|
File |
servletResourceOutputDirectory()
Defines the output directory for generated non-served resources, such as
the token file.
|
boolean |
useGlobalPnpm()
Instructs to use globally installed pnpm tool or the default supported
pnpm version.
|
File |
webpackOutputDirectory()
The folder where webpack should output index.js and other generated
files.
|
File applicationProperties()
File applicationPropertiesdefault Lookup createLookup(ClassFinder classFinder)
Lookup for the ClassFinder.classFinder - implementation that will be registered for the serviceTxpe
`ClassFinder`.Lookupboolean eagerServerLoad()
booleanFile frontendDirectory()
FileFile generatedFolder()
FileFile generatedTsFolder()
FileClassFinder getClassFinder()
ClassFinder that should be used.ClassFinderboolean isJarProject()
String getUseDeprecatedV14Bootstrapping()
Stringboolean isDebugEnabled()
default boolean isUseDeprecatedV14Bootstrapping()
void logDebug(CharSequence debugMessage)
debugMessage - to be logged.void logInfo(CharSequence infoMessage)
infoMessage - to be logged.void logWarn(CharSequence warningMessage)
warningMessage - to be logged.void logWarn(CharSequence warningMessage, Throwable throwable)
warningMessage - to be logged.throwable - to be logged.void logError(CharSequence warning, Throwable e)
warning - to be logged.e - to be logged.URI nodeDownloadRoot() throws URISyntaxException
NodeInstaller.DEFAULT_NODEJS_DOWNLOAD_ROOT.
Example: "https://nodejs.org/dist/".
URISyntaxException - - Could not build an URI from nodeDownloadRoot().boolean nodeAutoUpdate()
true to update node if older than defaultString nodeVersion()
FrontendTools for details.File npmFolder()
File openApiJsonFile()
boolean pnpmEnable()
boolean useGlobalPnpm()
boolean productionMode()
boolean requireHomeNodeExec()
true then vaadin home 'node' is checked and installed if it's
absent. Then it will be used instead of globally 'node' or locally
installed installed 'node'.File servletResourceOutputDirectory()
FileFile webpackOutputDirectory()
FileString buildFolder()
Copyright © 2000–2023 Vaadin Ltd. All rights reserved.