Package org.keycloak.it.utils
Class DockerKeycloakDistribution
- java.lang.Object
-
- org.keycloak.it.utils.DockerKeycloakDistribution
-
- All Implemented Interfaces:
KeycloakDistribution
public final class DockerKeycloakDistribution extends Object implements KeycloakDistribution
-
-
Field Summary
-
Fields inherited from interface org.keycloak.it.utils.KeycloakDistribution
SCRIPT_CMD, SCRIPT_CMD_INVOKABLE
-
-
Constructor Summary
Constructors Constructor Description DockerKeycloakDistribution(boolean debug, boolean manualStop, boolean reCreate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfetchErrorStream()List<String>getErrorStream()intgetExitCode()List<String>getOutputStream()booleanisDebug()booleanisManualStop()CLIResultrun(List<String> arguments)voidstop()<D extends KeycloakDistribution>
Dunwrap(Class<D> type)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.it.utils.KeycloakDistribution
copyOrReplaceFile, copyOrReplaceFileFromClasspath, deleteQuarkusProperties, getCliArgs, removeProperty, run, setEnvVar, setManualStop, setProperty, setQuarkusProperty
-
-
-
-
Method Detail
-
run
public CLIResult run(List<String> arguments)
- Specified by:
runin interfaceKeycloakDistribution
-
stop
public void stop()
- Specified by:
stopin interfaceKeycloakDistribution
-
getOutputStream
public List<String> getOutputStream()
- Specified by:
getOutputStreamin interfaceKeycloakDistribution
-
fetchErrorStream
public String fetchErrorStream()
-
getErrorStream
public List<String> 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
-
unwrap
public <D extends KeycloakDistribution> D unwrap(Class<D> type)
- Specified by:
unwrapin interfaceKeycloakDistribution
-
-