Package org.keycloak.it.junit5.extension
Class KeycloakDistributionDecorator
java.lang.Object
org.keycloak.it.junit5.extension.KeycloakDistributionDecorator
- All Implemented Interfaces:
KeycloakDistribution
-
Field Summary
Fields inherited from interface org.keycloak.it.utils.KeycloakDistribution
SCRIPT_CMD, SCRIPT_KCADM_CMD -
Constructor Summary
ConstructorsConstructorDescriptionKeycloakDistributionDecorator(Storage storageConfig, WithDatabase databaseConfig, DistributionTest config, KeycloakDistribution delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidclearEnv()voidcopyOrReplaceFile(Path file, Path targetFile) voidcopyOrReplaceFileFromClasspath(String file, Path distDir) voidString[]getCliArgs(List<String> arguments) intbooleanisDebug()booleanvoidremoveProperty(String name) voidvoidsetManualStop(boolean manualStop) voidsetProperty(String key, String value) voidsetQuarkusProperty(String key, String value) voidvoidsetRequestPort(int port) voidstop()<D extends KeycloakDistribution>
DMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.it.utils.KeycloakDistribution
run
-
Constructor Details
-
KeycloakDistributionDecorator
public KeycloakDistributionDecorator(Storage storageConfig, WithDatabase databaseConfig, DistributionTest config, KeycloakDistribution delegate)
-
-
Method Details
-
run
- Specified by:
runin interfaceKeycloakDistribution
-
stop
public void stop()- Specified by:
stopin interfaceKeycloakDistribution
-
getOutputStream
- Specified by:
getOutputStreamin interfaceKeycloakDistribution
-
getErrorStream
- Specified by:
getErrorStreamin interfaceKeycloakDistribution
-
getExitCode
public int getExitCode()- Specified by:
getExitCodein interfaceKeycloakDistribution
-
isDebug
public boolean isDebug()- Specified by:
isDebugin interfaceKeycloakDistribution
-
isManualStop
public boolean isManualStop()- Specified by:
isManualStopin interfaceKeycloakDistribution
-
getCliArgs
- Specified by:
getCliArgsin interfaceKeycloakDistribution
-
setManualStop
public void setManualStop(boolean manualStop) - Specified by:
setManualStopin interfaceKeycloakDistribution
-
setQuarkusProperty
- Specified by:
setQuarkusPropertyin interfaceKeycloakDistribution
-
setProperty
- Specified by:
setPropertyin interfaceKeycloakDistribution
-
deleteQuarkusProperties
public void deleteQuarkusProperties()- Specified by:
deleteQuarkusPropertiesin interfaceKeycloakDistribution
-
copyOrReplaceFileFromClasspath
- Specified by:
copyOrReplaceFileFromClasspathin interfaceKeycloakDistribution
-
removeProperty
- Specified by:
removePropertyin interfaceKeycloakDistribution
-
setEnvVar
- Specified by:
setEnvVarin interfaceKeycloakDistribution
-
copyOrReplaceFile
- Specified by:
copyOrReplaceFilein interfaceKeycloakDistribution
-
setRequestPort
public void setRequestPort()- Specified by:
setRequestPortin interfaceKeycloakDistribution
-
setRequestPort
public void setRequestPort(int port) - Specified by:
setRequestPortin interfaceKeycloakDistribution
-
unwrap
- Specified by:
unwrapin interfaceKeycloakDistribution
-
clearEnv
public void clearEnv()- Specified by:
clearEnvin interfaceKeycloakDistribution
-