Package io.quarkus.test.bootstrap
Class ServiceContext
- java.lang.Object
-
- io.quarkus.test.bootstrap.ServiceContext
-
public final class ServiceContext extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedServiceContext(Service owner, ScenarioContext scenarioContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tget(String key)StringgetName()ServicegetOwner()ScenarioContextgetScenarioContext()StringgetScenarioId()PathgetServiceFolder()org.junit.jupiter.api.extension.ExtensionContextgetTestContext()voidput(String key, Object value)
-
-
-
Constructor Detail
-
ServiceContext
protected ServiceContext(Service owner, ScenarioContext scenarioContext)
-
-
Method Detail
-
getOwner
public Service getOwner()
-
getScenarioId
public String getScenarioId()
-
getName
public String getName()
-
getScenarioContext
public ScenarioContext getScenarioContext()
-
getTestContext
public org.junit.jupiter.api.extension.ExtensionContext getTestContext()
-
getServiceFolder
public Path getServiceFolder()
-
get
public <T> T get(String key)
-
-