Class ExistingNetwork
- java.lang.Object
-
- io.prestosql.tests.product.launcher.testcontainers.ExistingNetwork
-
- All Implemented Interfaces:
AutoCloseable,org.junit.rules.TestRule,org.testcontainers.containers.Network
public final class ExistingNetwork extends Object implements org.testcontainers.containers.Network
-
-
Constructor Summary
Constructors Constructor Description ExistingNetwork(String networkId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statementapply(org.junit.runners.model.Statement statement, org.junit.runner.Description description)voidclose()StringgetId()
-
-
-
Constructor Detail
-
ExistingNetwork
public ExistingNetwork(String networkId)
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.testcontainers.containers.Network
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.testcontainers.containers.Network
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description)- Specified by:
applyin interfaceorg.junit.rules.TestRule
-
-