Package io.quarkus.test.services.quarkus
Class QuarkusApplicationManagedResourceBuilder
- java.lang.Object
-
- io.quarkus.test.services.quarkus.QuarkusApplicationManagedResourceBuilder
-
- All Implemented Interfaces:
ManagedResourceBuilder
- Direct Known Subclasses:
ArtifactQuarkusApplicationManagedResourceBuilder,DevModeQuarkusApplicationManagedResourceBuilder
public abstract class QuarkusApplicationManagedResourceBuilder extends Object implements ManagedResourceBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static intHTTP_PORT_DEFAULTstatic StringQUARKUS_GRPC_SERVER_PORT_PROPERTYstatic StringQUARKUS_HTTP_PORT_PROPERTYstatic StringQUARKUS_HTTP_SSL_PORT_PROPERTYprotected static PathRESOURCES_FOLDER
-
Constructor Summary
Constructors Constructor Description QuarkusApplicationManagedResourceBuilder()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.test.bootstrap.ManagedResourceBuilder
build, init
-
-
-
-
Field Detail
-
QUARKUS_HTTP_PORT_PROPERTY
public static final String QUARKUS_HTTP_PORT_PROPERTY
- See Also:
- Constant Field Values
-
QUARKUS_GRPC_SERVER_PORT_PROPERTY
public static final String QUARKUS_GRPC_SERVER_PORT_PROPERTY
- See Also:
- Constant Field Values
-
QUARKUS_HTTP_SSL_PORT_PROPERTY
public static final String QUARKUS_HTTP_SSL_PORT_PROPERTY
- See Also:
- Constant Field Values
-
HTTP_PORT_DEFAULT
public static final int HTTP_PORT_DEFAULT
- See Also:
- Constant Field Values
-
RESOURCES_FOLDER
protected static final Path RESOURCES_FOLDER
-
-
Method Detail
-
build
protected abstract void build()
-
getContext
protected ServiceContext getContext()
-
setContext
protected void setContext(ServiceContext context)
-
setPropertiesFile
protected void setPropertiesFile(String propertiesFile)
-
isSslEnabled
protected boolean isSslEnabled()
-
setSslEnabled
protected void setSslEnabled(boolean sslEnabled)
-
isGrpcEnabled
protected boolean isGrpcEnabled()
-
setGrpcEnabled
protected void setGrpcEnabled(boolean grpcEnabled)
-
getAppClasses
protected Class<?>[] getAppClasses()
-
getForcedDependencies
protected List<io.quarkus.bootstrap.model.AppDependency> getForcedDependencies()
-
requiresCustomBuild
protected boolean requiresCustomBuild()
-
getComputedProperty
public String getComputedProperty(String name)
- Specified by:
getComputedPropertyin interfaceManagedResourceBuilder- Returns:
- computed property that depends on the managed resource builder implementation.
-
containsBuildProperties
public boolean containsBuildProperties()
-
initAppClasses
public void initAppClasses(Class<?>[] classes)
-
initForcedDependencies
public void initForcedDependencies(Dependency[] forcedDependencies)
-
configureLogging
protected void configureLogging()
-
copyResourcesToAppFolder
protected void copyResourcesToAppFolder()
-
getApplicationFolder
protected Path getApplicationFolder()
-
getResourcesApplicationFolder
protected Path getResourcesApplicationFolder()
-
getComputedApplicationProperties
protected Path getComputedApplicationProperties()
-
-