Package io.quarkus.test.services.quarkus
Class QuarkusApplicationManagedResourceBuilder
- java.lang.Object
-
- io.quarkus.test.services.quarkus.QuarkusApplicationManagedResourceBuilder
-
- All Implemented Interfaces:
ManagedResourceBuilder
- Direct Known Subclasses:
DevModeQuarkusApplicationManagedResourceBuilder,GitRepositoryQuarkusApplicationManagedResourceBuilder,ProdQuarkusApplicationManagedResourceBuilder
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_PROPERTY
-
Constructor Summary
Constructors Constructor Description QuarkusApplicationManagedResourceBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidbuild()protected voidconfigureLogging()booleancontainsBuildProperties()protected voidcopyResourcesToAppFolder()Map<String,String>createSnapshotOfBuildProperties()protected Class<?>[]getAppClasses()Map<String,String>getBuildProperties()protected ServiceContextgetContext()voidinitAppClasses(Class<?>[] classes)protected booleanisGrpcEnabled()protected booleanisSelectedAppClasses()protected booleanisSslEnabled()protected voidsetContext(ServiceContext context)protected voidsetGrpcEnabled(boolean grpcEnabled)protected voidsetSslEnabled(boolean sslEnabled)-
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
-
-
Method Detail
-
build
protected abstract void build()
-
getContext
protected ServiceContext getContext()
-
setContext
protected void setContext(ServiceContext context)
-
isSslEnabled
protected boolean isSslEnabled()
-
setSslEnabled
protected void setSslEnabled(boolean sslEnabled)
-
isGrpcEnabled
protected boolean isGrpcEnabled()
-
setGrpcEnabled
protected void setGrpcEnabled(boolean grpcEnabled)
-
getAppClasses
protected Class<?>[] getAppClasses()
-
isSelectedAppClasses
protected boolean isSelectedAppClasses()
-
containsBuildProperties
public boolean containsBuildProperties()
-
initAppClasses
public void initAppClasses(Class<?>[] classes)
-
configureLogging
protected void configureLogging()
-
copyResourcesToAppFolder
protected void copyResourcesToAppFolder()
-
-