Skip to content

Commit 012b00d

Browse files
committed
ScriptInfo: add setter for appendReturnValue
This matches the getter isReturnValueAppended. It will be useful when we externalize the parameter parsing logic.
1 parent bebaf6b commit 012b00d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/org/scijava/script/ScriptInfo.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,11 @@ public boolean isReturnValueAppended() {
256256
return appendReturnValue;
257257
}
258258

259+
/** Gets whether the return value is appended as an additional output. */
260+
public void setReturnValueAppended(final boolean appendReturnValue) {
261+
this.appendReturnValue = appendReturnValue;
262+
}
263+
259264
// -- AbstractModuleInfo methods --
260265

261266
/**

0 commit comments

Comments
 (0)