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

com.smartbear.visualtest.models.Hubs Maven / Gradle / Ivy

The newest version!
package com.smartbear.visualtest.models;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Hubs {
    public String mobiles;
    public String windows;
    public String mac;
    public String linux;
    public String defaultHub;
    public String headless;

    public String getName(String type) {
        switch (type) {
            case "mobiles":
                return this.mobiles;
            case "windows":
                return this.windows;
            case "mac":
                return this.mac;
            case "linux":
                return this.linux;
            case "headless":
                return this.headless;
            default:
                return this.defaultHub;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy