Class DockerMongoTestInstance
java.lang.Object
dev.getelements.elements.dao.mongo.test.CliMongoTestInstance
dev.getelements.elements.dao.mongo.test.DockerMongoTestInstance
- All Implemented Interfaces:
MongoTestInstance
,AutoCloseable
-
Field Summary
Fields inherited from class dev.getelements.elements.dao.mongo.test.CliMongoTestInstance
port, version
Fields inherited from interface dev.getelements.elements.dao.mongo.test.MongoTestInstance
ELEMENTS_TESTED_VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionDockerMongoTestInstance
(int port) DockerMongoTestInstance
(int port, String version) -
Method Summary
Methods inherited from class dev.getelements.elements.dao.mongo.test.CliMongoTestInstance
close, log, start
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.getelements.elements.dao.mongo.test.MongoTestInstance
stop
-
Constructor Details
-
DockerMongoTestInstance
public DockerMongoTestInstance(int port) -
DockerMongoTestInstance
-
-
Method Details
-
newProcess
- Specified by:
newProcess
in classCliMongoTestInstance
- Throws:
IOException
-
newInitializeProcess
- Overrides:
newInitializeProcess
in classCliMongoTestInstance
- Throws:
IOException
-
kill
- Specified by:
kill
in classCliMongoTestInstance
-
doKill
-