Skip to content

Commit 8eaef07

Browse files
committed
add method ServerTransform.addParameter
(cherry picked from commit 2ea48f6)
1 parent d200f2f commit 8eaef07

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/main/java/com/marklogic/client/document/ServerTransform.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ public String getName() {
4646
return name;
4747
}
4848

49+
/**
50+
* Appends a value to the list for a parameter and returns this instance for
51+
* method chaining.
52+
* @param name the parameter
53+
* @param value the value to add to the list
54+
*/
55+
public ServerTransform addParameter(String name, String value) {
56+
add(name, value);
57+
return this;
58+
}
59+
4960
/**
5061
* Merges the transform and its parameters with other parameters
5162
* of the request.

0 commit comments

Comments
 (0)