Skip to content

Commit 332b05a

Browse files
committed
add the ExpressionLoader
1 parent 749f0c9 commit 332b05a

34 files changed

+422
-645
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# org.w3id.cwl.cwl
1+
# org.w3id.cwl.cwl1_2
22

33
This project contains Java objects and utilities auto-generated by <a href="https://github.com/common-workflow-language/schema_salad">Schema Salad</a> for parsing documents corresponding to the https://w3id.org/cwl/cwl# schema.
44

src/main/java/org/w3id/cwl/cwl1_2/CommandInputParameterImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ public CommandInputParameterImpl(
355355
try {
356356
format =
357357
LoaderInstances
358-
.uri_union_of_NullInstance_or_StringInstance_or_array_of_StringInstance_or_Expression_True_False_None
358+
.uri_union_of_NullInstance_or_StringInstance_or_array_of_StringInstance_or_ExpressionLoader_True_False_None
359359
.loadField(__doc.get("format"), __baseUri, __loadingOptions);
360360
} catch (ValidationException e) {
361361
format = null; // won't be used but prevents compiler from complaining.

src/main/java/org/w3id/cwl/cwl1_2/CommandInputRecordFieldImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public CommandInputRecordFieldImpl(
348348
try {
349349
format =
350350
LoaderInstances
351-
.uri_union_of_NullInstance_or_StringInstance_or_array_of_StringInstance_or_Expression_True_False_None
351+
.uri_union_of_NullInstance_or_StringInstance_or_array_of_StringInstance_or_ExpressionLoader_True_False_None
352352
.loadField(__doc.get("format"), __baseUri, __loadingOptions);
353353
} catch (ValidationException e) {
354354
format = null; // won't be used but prevents compiler from complaining.

src/main/java/org/w3id/cwl/cwl1_2/CommandLineBindingImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public CommandLineBindingImpl(
223223
try {
224224
position =
225225
LoaderInstances
226-
.union_of_NullInstance_or_IntegerInstance_or_Expression
226+
.union_of_NullInstance_or_IntegerInstance_or_ExpressionLoader
227227
.loadField(__doc.get("position"), __baseUri, __loadingOptions);
228228
} catch (ValidationException e) {
229229
position = null; // won't be used but prevents compiler from complaining.
@@ -291,7 +291,7 @@ public CommandLineBindingImpl(
291291
try {
292292
valueFrom =
293293
LoaderInstances
294-
.union_of_NullInstance_or_StringInstance_or_Expression
294+
.union_of_NullInstance_or_StringInstance_or_ExpressionLoader
295295
.loadField(__doc.get("valueFrom"), __baseUri, __loadingOptions);
296296
} catch (ValidationException e) {
297297
valueFrom = null; // won't be used but prevents compiler from complaining.

src/main/java/org/w3id/cwl/cwl1_2/CommandLineToolImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ public CommandLineToolImpl(
531531
try {
532532
arguments =
533533
LoaderInstances
534-
.optional_array_of_union_of_StringInstance_or_Expression_or_CommandLineBinding
534+
.optional_array_of_union_of_StringInstance_or_ExpressionLoader_or_CommandLineBinding
535535
.loadField(__doc.get("arguments"), __baseUri, __loadingOptions);
536536
} catch (ValidationException e) {
537537
arguments = null; // won't be used but prevents compiler from complaining.
@@ -548,7 +548,7 @@ public CommandLineToolImpl(
548548
try {
549549
stdin =
550550
LoaderInstances
551-
.union_of_NullInstance_or_StringInstance_or_Expression
551+
.union_of_NullInstance_or_StringInstance_or_ExpressionLoader
552552
.loadField(__doc.get("stdin"), __baseUri, __loadingOptions);
553553
} catch (ValidationException e) {
554554
stdin = null; // won't be used but prevents compiler from complaining.
@@ -565,7 +565,7 @@ public CommandLineToolImpl(
565565
try {
566566
stderr =
567567
LoaderInstances
568-
.union_of_NullInstance_or_StringInstance_or_Expression
568+
.union_of_NullInstance_or_StringInstance_or_ExpressionLoader
569569
.loadField(__doc.get("stderr"), __baseUri, __loadingOptions);
570570
} catch (ValidationException e) {
571571
stderr = null; // won't be used but prevents compiler from complaining.
@@ -582,7 +582,7 @@ public CommandLineToolImpl(
582582
try {
583583
stdout =
584584
LoaderInstances
585-
.union_of_NullInstance_or_StringInstance_or_Expression
585+
.union_of_NullInstance_or_StringInstance_or_ExpressionLoader
586586
.loadField(__doc.get("stdout"), __baseUri, __loadingOptions);
587587
} catch (ValidationException e) {
588588
stdout = null; // won't be used but prevents compiler from complaining.

src/main/java/org/w3id/cwl/cwl1_2/CommandOutputBinding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ public interface CommandOutputBinding extends LoadContents, Savable {
116116
* * </BLOCKQUOTE>
117117
*/
118118

119-
java.util.Optional<Expression> getOutputEval();
119+
java.util.Optional<String> getOutputEval();
120120
}

src/main/java/org/w3id/cwl/cwl1_2/CommandOutputBindingImpl.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public Object getGlob() {
114114
return this.glob;
115115
}
116116

117-
private java.util.Optional<Expression> outputEval;
117+
private java.util.Optional<String> outputEval;
118118

119119
/**
120120
* Getter for property <I>https://w3id.org/cwl/cwl#CommandOutputBinding/outputEval</I><BR>
@@ -141,7 +141,7 @@ public Object getGlob() {
141141
* * </BLOCKQUOTE>
142142
*/
143143

144-
public java.util.Optional<Expression> getOutputEval() {
144+
public java.util.Optional<String> getOutputEval() {
145145
return this.outputEval;
146146
}
147147

@@ -215,7 +215,7 @@ public CommandOutputBindingImpl(
215215
try {
216216
glob =
217217
LoaderInstances
218-
.union_of_NullInstance_or_StringInstance_or_Expression_or_array_of_StringInstance
218+
.union_of_NullInstance_or_StringInstance_or_ExpressionLoader_or_array_of_StringInstance
219219
.loadField(__doc.get("glob"), __baseUri, __loadingOptions);
220220
} catch (ValidationException e) {
221221
glob = null; // won't be used but prevents compiler from complaining.
@@ -226,13 +226,13 @@ public CommandOutputBindingImpl(
226226
} else {
227227
glob = null;
228228
}
229-
java.util.Optional<Expression> outputEval;
229+
java.util.Optional<String> outputEval;
230230

231231
if (__doc.containsKey("outputEval")) {
232232
try {
233233
outputEval =
234234
LoaderInstances
235-
.optional_Expression
235+
.optional_ExpressionLoader
236236
.loadField(__doc.get("outputEval"), __baseUri, __loadingOptions);
237237
} catch (ValidationException e) {
238238
outputEval = null; // won't be used but prevents compiler from complaining.
@@ -249,6 +249,6 @@ public CommandOutputBindingImpl(
249249
this.loadContents = (java.util.Optional<Boolean>) loadContents;
250250
this.loadListing = (java.util.Optional<LoadListingEnum>) loadListing;
251251
this.glob = (Object) glob;
252-
this.outputEval = (java.util.Optional<Expression>) outputEval;
252+
this.outputEval = (java.util.Optional<String>) outputEval;
253253
}
254254
}

src/main/java/org/w3id/cwl/cwl1_2/CommandOutputParameterImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public CommandOutputParameterImpl(
293293
try {
294294
format =
295295
LoaderInstances
296-
.uri_union_of_NullInstance_or_StringInstance_or_Expression_True_False_None
296+
.uri_union_of_NullInstance_or_StringInstance_or_ExpressionLoader_True_False_None
297297
.loadField(__doc.get("format"), __baseUri, __loadingOptions);
298298
} catch (ValidationException e) {
299299
format = null; // won't be used but prevents compiler from complaining.

src/main/java/org/w3id/cwl/cwl1_2/CommandOutputRecordFieldImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public CommandOutputRecordFieldImpl(
306306
try {
307307
format =
308308
LoaderInstances
309-
.uri_union_of_NullInstance_or_StringInstance_or_Expression_True_False_None
309+
.uri_union_of_NullInstance_or_StringInstance_or_ExpressionLoader_True_False_None
310310
.loadField(__doc.get("format"), __baseUri, __loadingOptions);
311311
} catch (ValidationException e) {
312312
format = null; // won't be used but prevents compiler from complaining.

src/main/java/org/w3id/cwl/cwl1_2/Dirent.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ public interface Dirent extends Savable {
8484
* implemented by making a copy of the original file or
8585
* directory.
8686
*
87+
* Disruptive changes to the referenced file or directory must not
88+
* be allowed unless `InplaceUpdateRequirement.inplaceUpdate` is true.
89+
*
8790
* Default false (files and directories read-only by default).
8891
*
8992
* A directory marked as `writable: true` implies that all files and

0 commit comments

Comments
 (0)