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

com.sdl.selenium.extjs6.grid.Options Maven / Gradle / Ivy

Go to download

Automated Acceptance Testing. Selenium and Selenium WebDriver test framework for web applications. (optimized for dynamic html, ExtJS, Bootstrap, complex UI, simple web applications/sites)

The newest version!
package com.sdl.selenium.extjs6.grid;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.function.Function;
import java.util.function.Predicate;

@Getter
@Setter
@ToString
public class Options {
    private V type;
    private boolean expand;
    private Predicate predicate;
    private Function function;
    private Function, List>> collector;

    public Options(V type) {
        this.type = type;
    }

    public Options(V type, Predicate predicate, Function function) {
        this.type = type;
        this.predicate = predicate;
        this.function = function;
    }

    public Options(V type, boolean expand, Predicate predicate, Function function) {
        this(type, predicate, function);
        this.expand = expand;
    }

    public Options(V type, boolean expand, Predicate predicate, Function function, Function, List>> collector) {
        this(type, expand, predicate, function);
        this.collector = collector;
    }

    public Options(V type, Function, List>> collector) {
        this(type);
        this.collector = collector;
    }

    public Options(Predicate predicate, Function function) {
        this.predicate = predicate;
        this.function = function;
    }

    public Options(boolean expand, Predicate predicate, Function function) {
        this(predicate, function);
        this.expand = expand;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy