Class WorkspaceInfoCollector
java.lang.Object
com.vaadin.quarkus.deployment.vaadinplugin.WorkspaceInfoCollector
- All Implemented Interfaces:
io.quarkus.deployment.CodeGenProvider
Workaround to collect workspace info when it is not available at build time.
During a normal build, workspace information is available only if the
quarkus.bootstrap.workspace-discovery property is set to
true. This class gets executed during the code generation phase, so
it has access to the workspace details and can persist them to make them
available to subsequent build steps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleantrigger(io.quarkus.deployment.CodeGenContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.deployment.CodeGenProvider
getInputDirectory, inputExtension, inputExtensions
-
Constructor Details
-
WorkspaceInfoCollector
public WorkspaceInfoCollector()
-
-
Method Details
-
providerId
- Specified by:
providerIdin interfaceio.quarkus.deployment.CodeGenProvider
-
inputDirectory
- Specified by:
inputDirectoryin interfaceio.quarkus.deployment.CodeGenProvider
-
init
- Specified by:
initin interfaceio.quarkus.deployment.CodeGenProvider
-
shouldRun
- Specified by:
shouldRunin interfaceio.quarkus.deployment.CodeGenProvider
-
trigger
public boolean trigger(io.quarkus.deployment.CodeGenContext context) throws io.quarkus.bootstrap.prebuild.CodeGenException - Specified by:
triggerin interfaceio.quarkus.deployment.CodeGenProvider- Throws:
io.quarkus.bootstrap.prebuild.CodeGenException
-