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

com.smartbear.readyapi.client.teststeps.propertytransfer.PropertyTransferSourceBuilder Maven / Gradle / Ivy

Go to download

Java client library for creating and executing test recipes against Ready!API TestServer

The newest version!
package com.smartbear.readyapi.client.teststeps.propertytransfer;

import com.smartbear.readyapi.client.model.PropertyTransferSource;

public class PropertyTransferSourceBuilder {

    private PropertyTransferSource source = new PropertyTransferSource();

    public static PropertyTransferSourceBuilder aSource() {
        return new PropertyTransferSourceBuilder();
    }

    public PropertyTransferSourceBuilder withSourceStep(String sourceStepName) {
        source.setSourceName(sourceStepName);
        return this;
    }

    public PropertyTransferSourceBuilder withProperty(String property) {
        source.setProperty(property);
        return this;
    }

    public PropertyTransferSourceBuilder withPathLanguage(PathLanguage pathLanguage) {
        source.setPathLanguage(pathLanguage.name());
        return this;
    }

    public PropertyTransferSourceBuilder withPath(String path) {
        source.setPath(path);
        return this;
    }

    PropertyTransferSource build() {
        return source;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy