use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method embeddablesSkipped.
@Override
public void embeddablesSkipped(final List<String> classNames) {
logger.debug("embeddablesSkipped" + classNames.size());
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.embeddablesSkipped(classNames);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#embeddablesSkipped", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method generatingReportsView.
@Override
public void generatingReportsView(final File outputDirectory, final List<String> formats, final Properties viewProperties) {
logger.debug("generatingReportsView" + outputDirectory + formats + viewProperties);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.generatingReportsView(outputDirectory, formats, viewProperties);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#generatingReportsView", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method navigatorViewGenerationFailed.
@Override
public void navigatorViewGenerationFailed(final File outputDirectory, final Properties viewResources, final Throwable cause) {
logger.debug("navigatorViewGenerationFailed" + outputDirectory + viewResources + cause);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.navigatorViewGenerationFailed(outputDirectory, viewResources, cause);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#navigatorViewGenerationFailed", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method reportsViewGenerationFailed.
@Override
public void reportsViewGenerationFailed(final File outputDirectory, final List<String> formats, final Properties viewProperties, final Throwable cause) {
logger.debug("reportsViewGenerationFailed" + outputDirectory + formats + viewProperties + cause);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.reportsViewGenerationFailed(outputDirectory, formats, viewProperties, cause);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#reportsViewGenerationFailed", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method usingExecutorService.
@Override
public void usingExecutorService(final ExecutorService executorService) {
logger.debug("usingExecutorService" + executorService);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.usingExecutorService(executorService);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#usingExecutorService", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
Aggregations