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

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

Go to download

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

There is a newer version: 1.2.1
Show newest version
package com.smartbear.readyapi.client.teststeps.propertytransfer;

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

public class PropertyTransferTargetBuilder {
    private PropertyTransferTarget target = new PropertyTransferTarget();

    public static PropertyTransferTargetBuilder aTarget() {
        return new PropertyTransferTargetBuilder();
    }

    public PropertyTransferTargetBuilder withTargetStep(String targetStepName) {
        target.setTargetName(targetStepName);
        return this;
    }

    public PropertyTransferTargetBuilder withProperty(String property) {
        target.setProperty(property);
        return this;
    }

    public PropertyTransferTargetBuilder withPathLanguage(PathLanguage pathLanguage) {
        target.setPathLanguage(pathLanguage.name());
        return this;
    }

    public PropertyTransferTargetBuilder withPath(String path) {
        target.setPath(path);
        return this;
    }

    PropertyTransferTarget build() {
        return target;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy