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

com.testfabrik.webmate.javasdk.testmgmt.TestParameter Maven / Gradle / Ivy

There is a newer version: 0.56
Show newest version
package com.testfabrik.webmate.javasdk.testmgmt;

import com.testfabrik.webmate.javasdk.jobs.WMDataType;
import com.testfabrik.webmate.javasdk.jobs.WMValue;

import com.google.common.base.Optional;

public class TestParameter {

    private String name;
    private WMDataType parameterType;
    private boolean required;
    private Optional optDescription;
    private Optional optDisplayName;
    private Optional defaultVal;

    // For jackson
    public TestParameter() { }

    public TestParameter(String name, WMDataType parameterType, boolean required, Optional optDescription,
                         Optional optDisplayName, Optional defaultVal) {
        this.name = name;
        this.parameterType = parameterType;
        this.required = required;
        this.optDescription = optDescription;
        this.optDisplayName = optDisplayName;
        this.defaultVal = defaultVal;
    }

    public String getName() {
        return name;
    }

    public WMDataType getParameterType() {
        return parameterType;
    }

    public boolean isRequired() {
        return required;
    }

    public Optional getOptDescription() {
        return optDescription;
    }

    public Optional getOptDisplayName() {
        return optDisplayName;
    }

    public Optional getDefaultVal() {
        return defaultVal;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy