com.versionone.apiclient.services.WithVariablesBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of VersionOne.SDK.Java.APIClient Show documentation
Show all versions of VersionOne.SDK.Java.APIClient Show documentation
A library for custom Java development against the VersionOne Development Platform's REST API.
package com.versionone.apiclient.services;
import com.versionone.apiclient.Query;
public class WithVariablesBuilder extends QueryBuilder {
@Override
protected void doBuild(Query query, BuildResult result) {
if(query.getVariables() != null && !query.getVariables().isEmpty()) {
result.querystringParts.add("with=" + TextBuilder.join(query.getVariables(), ";"));
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy