org.streamingpool.ext.analysis.modules.TriggeredAnalysisModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of streamingpool-ext-analysis Show documentation
Show all versions of streamingpool-ext-analysis Show documentation
This project is an analysis pakage for streamingpool.
The newest version!
/**
* Copyright (c) 2017 European Organisation for Nuclear Research (CERN), All Rights Reserved.
*/
package org.streamingpool.ext.analysis.modules;
import org.streamingpool.ext.analysis.dsl.OngoingTriggeredStrategy;
import org.streamingpool.ext.tensorics.evaluation.TriggeredEvaluation;
import org.streamingpool.ext.tensorics.evaluation.TriggeredEvaluation.Builder;
public abstract class TriggeredAnalysisModule extends StreamBasedAnalysisModule {
public TriggeredAnalysisModule() {
super(TriggeredEvaluation.builder());
}
public OngoingTriggeredStrategy triggered() {
throwIfStrategySpecifiedTwice();
return new OngoingTriggeredStrategy(getEvaluationStrategyBuilder());
}
}