io.gatling.javaapi.core.StructureBuilder Maven / Gradle / Ivy
/*
* Copyright 2011-2024 GatlingCorp (https://gatling.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.gatling.javaapi.core;
import io.gatling.javaapi.core.condition.*;
import io.gatling.javaapi.core.error.Errors;
import io.gatling.javaapi.core.exec.Execs;
import io.gatling.javaapi.core.feed.Feeds;
import io.gatling.javaapi.core.group.Groups;
import io.gatling.javaapi.core.loop.*;
import io.gatling.javaapi.core.pause.Paces;
import io.gatling.javaapi.core.pause.Pauses;
import io.gatling.javaapi.core.pause.RendezVous;
/**
* The parent class of {@link ScenarioBuilder} and {@link ChainBuilder}.
*
* For internal use only, do not extend!
*
* @param the type of {@link StructureBuilder} to attach to and to return
* @param the type of wrapped Scala instance
*/
public abstract class StructureBuilder<
T extends StructureBuilder, W extends io.gatling.core.structure.StructureBuilder>
implements Execs,
Groups,
Feeds,
Pauses,
Paces,
RendezVous,
Repeat,
ForEach,
During,
Forever,
AsLongAs,
DoWhile,
AsLongAsDuring,
DoWhileDuring,
DoIf,
DoIfOrElse,
DoIfEquals,
DoIfEqualsOrElse,
DoSwitch,
DoSwitchOrElse,
RandomSwitch,
RandomSwitchOrElse,
UniformRandomSwitch,
RoundRobinSwitch,
Errors {
public final W wrapped;
protected StructureBuilder(W wrapped) {
this.wrapped = wrapped;
}
}