
com.loadcoder.load.scenario.design.ScenarioLogic Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (C) 2019 Stefan Vahlgren at Loadcoder
*
* This file is part of Loadcoder.
*
* Loadcoder is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Loadcoder is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
******************************************************************************/
package com.loadcoder.load.scenario.design;
import com.loadcoder.load.scenario.Load.Transaction;
import com.loadcoder.load.scenario.Load.TransactionVoid;
import com.loadcoder.load.scenario.ResultHandlerBuilder;
import com.loadcoder.load.scenario.ResultHandlerVoidBuilder;
import com.loadcoder.load.scenario.Scenario;
public class ScenarioLogic {
Scenario theActualScenario;
public ScenarioLogic(Scenario scenario) {
this.theActualScenario = scenario;
}
protected ResultHandlerBuilder load(String defaultName, Transaction transaction) {
return theActualScenario.load(defaultName, transaction);
}
protected ResultHandlerVoidBuilder load(String defaultName, TransactionVoid transaction) {
return theActualScenario.load(defaultName, transaction);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy