Package io.quarkus.test.services.quarkus
Class RemoteDevModeQuarkusApplicationManagedResourceBuilder
- java.lang.Object
-
- io.quarkus.test.services.quarkus.QuarkusApplicationManagedResourceBuilder
-
- io.quarkus.test.services.quarkus.ArtifactQuarkusApplicationManagedResourceBuilder
-
- io.quarkus.test.services.quarkus.RemoteDevModeQuarkusApplicationManagedResourceBuilder
-
- All Implemented Interfaces:
ManagedResourceBuilder
public class RemoteDevModeQuarkusApplicationManagedResourceBuilder extends ArtifactQuarkusApplicationManagedResourceBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXPECTED_OUTPUT_FROM_REMOTE_DEV_DAEMONstatic StringQUARKUS_LAUNCH_DEV_MODEstatic StringQUARKUS_LIVE_RELOAD_PASSWORD-
Fields inherited from class io.quarkus.test.services.quarkus.QuarkusApplicationManagedResourceBuilder
HTTP_PORT_DEFAULT, QUARKUS_GRPC_SERVER_PORT_PROPERTY, QUARKUS_HTTP_PORT_PROPERTY, QUARKUS_HTTP_SSL_PORT_PROPERTY, RESOURCES_FOLDER
-
-
Constructor Summary
Constructors Constructor Description RemoteDevModeQuarkusApplicationManagedResourceBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuild()ManagedResourcebuild(ServiceContext context)Build the resource using the service context.protected QuarkusManagedResourcefindManagedResource()protected PathgetArtifact()protected StringgetLiveReloadPassword()protected PathgetResourcesApplicationFolder()voidinit(Annotation annotation)(Optional) Init managed resource builder using the metadata from the annotation.protected ProcessBuilderprepareRemoteDevProcess()-
Methods inherited from class io.quarkus.test.services.quarkus.QuarkusApplicationManagedResourceBuilder
configureLogging, containsBuildProperties, copyResourcesToAppFolder, createSnapshotOfBuildProperties, getAppClasses, getApplicationFolder, getBuildProperties, getComputedApplicationProperties, getComputedProperty, getContext, getForcedDependencies, initAppClasses, initForcedDependencies, isGrpcEnabled, isSslEnabled, requiresCustomBuild, setContext, setGrpcEnabled, setPropertiesFile, setSslEnabled
-
-
-
-
Field Detail
-
QUARKUS_LIVE_RELOAD_PASSWORD
public static final String QUARKUS_LIVE_RELOAD_PASSWORD
- See Also:
- Constant Field Values
-
QUARKUS_LAUNCH_DEV_MODE
public static final String QUARKUS_LAUNCH_DEV_MODE
- See Also:
- Constant Field Values
-
EXPECTED_OUTPUT_FROM_REMOTE_DEV_DAEMON
public static final String EXPECTED_OUTPUT_FROM_REMOTE_DEV_DAEMON
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(Annotation annotation)
Description copied from interface:ManagedResourceBuilder(Optional) Init managed resource builder using the metadata from the annotation.- Parameters:
annotation- metadata
-
build
public ManagedResource build(ServiceContext context)
Description copied from interface:ManagedResourceBuilderBuild the resource using the service context.
-
build
protected void build()
- Specified by:
buildin classQuarkusApplicationManagedResourceBuilder
-
getResourcesApplicationFolder
protected Path getResourcesApplicationFolder()
- Overrides:
getResourcesApplicationFolderin classQuarkusApplicationManagedResourceBuilder
-
getArtifact
protected Path getArtifact()
- Specified by:
getArtifactin classArtifactQuarkusApplicationManagedResourceBuilder
-
getLiveReloadPassword
protected String getLiveReloadPassword()
-
findManagedResource
protected QuarkusManagedResource findManagedResource()
-
prepareRemoteDevProcess
protected ProcessBuilder prepareRemoteDevProcess()
-
-