Class Cleaner
- java.lang.Object
-
- io.patriot_framework.network_simulator.docker.cleanup.Cleaner
-
public class Cleaner extends Object
Class designed for cleaning docker after job, means delete containers, networks and sometimes images.
-
-
Constructor Summary
Constructors Constructor Description Cleaner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanUp(List<String> networks, List<String> containers)
Clear instances of docker container from list (stop -> delete) and networks (delete).
-