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

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

package com.neotys.neoload.model.repository;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.neotys.neoload.model.core.Element;
import org.immutables.value.Value;

import java.util.stream.Stream;

/**
 * @deprecated As of v3, replaced by an associated class from v3 version.
 */
@Value.Immutable
@JsonDeserialize(as = ImmutableIfThenElse.class)
@Deprecated
public interface IfThenElse extends Element {
	Conditions getConditions();
	ContainerForMulti getThen();
	ContainerForMulti getElse();
	
	 @Override
	default Stream flattened() {
		 return Stream.of(getThen(), getElse()).flatMap(ContainerForMulti::flattened);
	}
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy