this.logger.debug("skip " + JettyTestPlugin.class + " because there is no " + JettyRunWar.class
+ " annotation on test class");
return;
}
final Config config = DefaultConfig.configFrom(testExecution.method());
this.logger.info("jetty-config : " + config);
if (config.isSkip()) {
this.logger.debug("skip stopping webapp");
return;
}
if (this.actions.hasWebAppContext() && config.isDeployWebapp()) {
this.actions.stopWebapp(config);
}
else {
this.logger.info("stop webapp ? keep webapp running");
}
if (this.actions.hasServer() && config.isStartServer()) {
this.actions.stopServer(config);
}
else {
this.logger.info("stop server ? keep server running");
}