pl.domzal.junit.docker.rule.wait.StartConditionCheck Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit-docker-rule Show documentation
Show all versions of junit-docker-rule Show documentation
JUnit Rule starting docker container in junit test case.
package pl.domzal.junit.docker.rule.wait;
/**
* Container startup condition check. Instances of check should
* be created by implementations of {@link StartCondition}.
*/
public interface StartConditionCheck {
/**
* 'Is condition fulfilled?' check.
*/
boolean check();
/**
* Condition description (will show in log messages).
*/
String describe();
/**
* After check cleanup. Use if you check need to do some cleaning after usage.
*/
void after();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy