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

com.neotys.neoload.model.core.Element Maven / Gradle / Ivy

package com.neotys.neoload.model.core;

import java.util.Optional;
import java.util.stream.Stream;

import com.neotys.neoload.model.validation.constraints.RequiredCheck;
import com.neotys.neoload.model.validation.groups.NeoLoad;

/**
 * @deprecated As of v3, replaced by an associated class from v3 version.
 */
@Deprecated
public interface Element {
	String NAME = "name";
	String DESCRIPTION = "description";

	@RequiredCheck(groups={NeoLoad.class})
	String getName();
    Optional getDescription();
    
    Element withName(String of);

    default Stream flattened() {
        return Stream.of(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy