All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.yandex.qatools.camelot.beans.AggregatorConfigImpl Maven / Gradle / Ivy

There is a newer version: 2.5.4
Show newest version
package ru.yandex.qatools.camelot.beans;

import ru.yandex.qatools.camelot.common.AggregationKeyStrategy;

/**
 * @author Ilya Sadykov (mailto: [email protected])
 */
public class AggregatorConfigImpl extends RouteConfigImpl implements AggregatorConfig {
    private AggregationKeyStrategy strategyInstance;

    public AggregatorConfigImpl(RouteConfig routeConfig) {
        this.setFilterInstanceOf(routeConfig.getFilterInstanceOf());
        this.setSplitStrategy(routeConfig.getSplitStrategy());
        this.setCustomFilter(routeConfig.getCustomFilter());
    }

    @Override
    public AggregationKeyStrategy getStrategyInstance() {
        return strategyInstance;
    }

    public void setStrategyInstance(AggregationKeyStrategy strategyInstance) {
        this.strategyInstance = strategyInstance;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy