com.smartbear.readyapi.client.teststeps.propertytransfer.PropertyTransferTargetBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ready-api-testserver-client Show documentation
Show all versions of ready-api-testserver-client Show documentation
Java client library for creating and executing test recipes against Ready!API TestServer
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