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

com.neotys.neoload.model.repository.Page Maven / Gradle / Ivy

package com.neotys.neoload.model.repository;

import com.neotys.neoload.model.core.Element;
import org.immutables.value.Value;

import java.util.List;
import java.util.stream.Stream;

/**
 * A Page is a container containing only Page or Request.
 * 
 * @deprecated As of v3, replaced by an associated class from v3 version.
 */
@Value.Immutable
@Deprecated
public interface Page extends PageElement {
    List getChilds();
    int getThinkTime();
    boolean isDynamic();

    @Override
    default Stream flattened() {
        return Stream.concat(Stream.of(this), getChilds().stream().flatMap(Element::flattened));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy