Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 89 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<packaging>jar</packaging>
<name>Common Workflow Language SDK</name>
<description><![CDATA[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.]]></description>
<version>1.2.0-SNAPSHOT</version>
<version>2.0.0</version>
<url>https://www.commonwl.org/</url>
<properties>
<commonslang.version>3.19.0</commonslang.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -18,6 +19,18 @@
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Michael R. Crusoe</name>
<email>mrc@commonwl.org</email>
<organization>Common Workflow Language, a member project of Software Freedom Conservancy, Inc.</organization>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/common-workflow-language/cwljava.git</connection>
<developerConnection>scm:git:ssh://github.com/common-workflow-language/cwljava.git</developerConnection>
<url>https://github.com/common-workflow-language/cwljava/tree/cwl-1.2.0/</url>
</scm>
<build>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -51,9 +64,14 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<configuration>
</configuration>
<version>3.12.0</version>
<executions><execution><id>attach-javadocs</id><goals><goal>jar</goal></goals></execution></executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions><execution><id>attach-sources</id><goals><goal>jar-no-fork</goal></goals></execution></executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -107,6 +125,73 @@
</dependency>
</dependencies>
<profiles>
<profile>
<id>deployment</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<configuration>
<!-- Optional: specify which key to use -->
<keyname>${gpg.keyname}</keyname>
<!-- Prevent gpg from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.9.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>uploaded</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>github</id>
<activation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public interface CommandInputParameter extends InputParameter, Saveable {
* `path` or `location` and `basename` fields set, or an array consisting
* of strings or File or Directory objects. It is legal to reference an
* unchanged File or Directory object taken from input as a secondaryFile.
* The expression may return "null" in which case there is no secondaryFile
* The expression may return &quot;null&quot; in which case there is no secondaryFile
* from that expression.
*
* To work on non-filename-preserving storage systems, portable tool
Expand Down Expand Up @@ -127,7 +127,7 @@ public interface CommandInputParameter extends InputParameter, Saveable {
* Only valid when `type: File` or is an array of `items: File`.
*
* Read up to the first 64 KiB of text from the file and place it in the
* "contents" field of the file object for use by expressions.
* &quot;contents&quot; field of the file object for use by expressions.
* * </BLOCKQUOTE>
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public java.util.Optional<String> getLabel() {
* `path` or `location` and `basename` fields set, or an array consisting
* of strings or File or Directory objects. It is legal to reference an
* unchanged File or Directory object taken from input as a secondaryFile.
* The expression may return "null" in which case there is no secondaryFile
* The expression may return &quot;null&quot; in which case there is no secondaryFile
* from that expression.
*
* To work on non-filename-preserving storage systems, portable tool
Expand Down Expand Up @@ -168,7 +168,7 @@ public Object getFormat() {
* Only valid when `type: File` or is an array of `items: File`.
*
* Read up to the first 64 KiB of text from the file and place it in the
* "contents" field of the file object for use by expressions.
* &quot;contents&quot; field of the file object for use by expressions.
* * </BLOCKQUOTE>
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public interface CommandInputRecordField extends InputRecordField, CommandLineBi
* `path` or `location` and `basename` fields set, or an array consisting
* of strings or File or Directory objects. It is legal to reference an
* unchanged File or Directory object taken from input as a secondaryFile.
* The expression may return "null" in which case there is no secondaryFile
* The expression may return &quot;null&quot; in which case there is no secondaryFile
* from that expression.
*
* To work on non-filename-preserving storage systems, portable tool
Expand Down Expand Up @@ -135,7 +135,7 @@ public interface CommandInputRecordField extends InputRecordField, CommandLineBi
* Only valid when `type: File` or is an array of `items: File`.
*
* Read up to the first 64 KiB of text from the file and place it in the
* "contents" field of the file object for use by expressions.
* &quot;contents&quot; field of the file object for use by expressions.
* * </BLOCKQUOTE>
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public java.util.Optional<String> getLabel() {
* `path` or `location` and `basename` fields set, or an array consisting
* of strings or File or Directory objects. It is legal to reference an
* unchanged File or Directory object taken from input as a secondaryFile.
* The expression may return "null" in which case there is no secondaryFile
* The expression may return &quot;null&quot; in which case there is no secondaryFile
* from that expression.
*
* To work on non-filename-preserving storage systems, portable tool
Expand Down Expand Up @@ -181,7 +181,7 @@ public Object getFormat() {
* Only valid when `type: File` or is an array of `items: File`.
*
* Read up to the first 64 KiB of text from the file and place it in the
* "contents" field of the file object for use by expressions.
* &quot;contents&quot; field of the file object for use by expressions.
* * </BLOCKQUOTE>
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* Auto-generated interface for <I>https://w3id.org/cwl/cwl#CommandLineBinding</I><BR>This interface is implemented by {@link CommandLineBindingImpl}<BR> <BLOCKQUOTE>

When listed under `inputBinding` in the input schema, the term
"value" refers to the the corresponding value in the input object. For
binding objects listed in `CommandLineTool.arguments`, the term "value"
&quot;value&quot; refers to the the corresponding value in the input object. For
binding objects listed in `CommandLineTool.arguments`, the term &quot;value&quot;
refers to the effective value after evaluating `valueFrom`.

The binding behavior when building the command line depends on the data
Expand Down Expand Up @@ -71,7 +71,7 @@ public interface CommandLineBinding extends InputBinding, Saveable {
* Only valid when `type: File` or is an array of `items: File`.
*
* Read up to the first 64 KiB of text from the file and place it in the
* "contents" field of the file object for use by expressions.
* &quot;contents&quot; field of the file object for use by expressions.
* * </BLOCKQUOTE>
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
* Auto-generated class implementation for <I>https://w3id.org/cwl/cwl#CommandLineBinding</I><BR> <BLOCKQUOTE>

When listed under `inputBinding` in the input schema, the term
"value" refers to the the corresponding value in the input object. For
binding objects listed in `CommandLineTool.arguments`, the term "value"
&quot;value&quot; refers to the the corresponding value in the input object. For
binding objects listed in `CommandLineTool.arguments`, the term &quot;value&quot;
refers to the effective value after evaluating `valueFrom`.

The binding behavior when building the command line depends on the data
Expand Down Expand Up @@ -82,7 +82,7 @@ public java.util.Map<String, Object> getExtensionFields() {
* Only valid when `type: File` or is an array of `items: File`.
*
* Read up to the first 64 KiB of text from the file and place it in the
* "contents" field of the file object for use by expressions.
* &quot;contents&quot; field of the file object for use by expressions.
* * </BLOCKQUOTE>
*/

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/commonwl/cwlsdk/cwl1_1/CommandLineTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public interface CommandLineTool extends Process, Saveable {
/**
* Getter for property <I>https://w3id.org/cwl/cwl#CommandLineTool/stdin</I><BR>
* <BLOCKQUOTE>
* A path to a file whose contents must be piped into the command's
* A path to a file whose contents must be piped into the command&#x27;s
* standard input stream.
* * </BLOCKQUOTE>
*/
Expand All @@ -159,7 +159,7 @@ public interface CommandLineTool extends Process, Saveable {
/**
* Getter for property <I>https://w3id.org/cwl/cwl#CommandLineTool/stderr</I><BR>
* <BLOCKQUOTE>
* Capture the command's standard error stream to a file written to
* Capture the command&#x27;s standard error stream to a file written to
* the designated output directory.
*
* If `stderr` is a string, it specifies the file name to use.
Expand All @@ -175,7 +175,7 @@ public interface CommandLineTool extends Process, Saveable {
/**
* Getter for property <I>https://w3id.org/cwl/cwl#CommandLineTool/stdout</I><BR>
* <BLOCKQUOTE>
* Capture the command's standard output stream to a file written to
* Capture the command&#x27;s standard output stream to a file written to
* the designated output directory.
*
* If `stdout` is a string, it specifies the file name to use.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public java.util.Optional<java.util.List<Object>> getArguments() {
/**
* Getter for property <I>https://w3id.org/cwl/cwl#CommandLineTool/stdin</I><BR>
* <BLOCKQUOTE>
* A path to a file whose contents must be piped into the command's
* A path to a file whose contents must be piped into the command&#x27;s
* standard input stream.
* * </BLOCKQUOTE>
*/
Expand All @@ -230,7 +230,7 @@ public Object getStdin() {
/**
* Getter for property <I>https://w3id.org/cwl/cwl#CommandLineTool/stderr</I><BR>
* <BLOCKQUOTE>
* Capture the command's standard error stream to a file written to
* Capture the command&#x27;s standard error stream to a file written to
* the designated output directory.
*
* If `stderr` is a string, it specifies the file name to use.
Expand All @@ -251,7 +251,7 @@ public Object getStderr() {
/**
* Getter for property <I>https://w3id.org/cwl/cwl#CommandLineTool/stdout</I><BR>
* <BLOCKQUOTE>
* Capture the command's standard output stream to a file written to
* Capture the command&#x27;s standard output stream to a file written to
* the designated output directory.
*
* If `stdout` is a string, it specifies the file name to use.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public interface CommandOutputBinding extends LoadContents, Saveable {
* Only valid when `type: File` or is an array of `items: File`.
*
* Read up to the first 64 KiB of text from the file and place it in the
* "contents" field of the file object for use by expressions.
* &quot;contents&quot; field of the file object for use by expressions.
* * </BLOCKQUOTE>
*/

Expand Down Expand Up @@ -75,9 +75,9 @@ public interface CommandOutputBinding extends LoadContents, Saveable {
* match and return files/directories which actually exist.
*
* If the value of glob is a relative path pattern (does not
* begin with a slash '/') then it is resolved relative to the
* begin with a slash &#x27;/&#x27;) then it is resolved relative to the
* output directory. If the value of the glob is an absolute
* path pattern (it does begin with a slash '/') then it must
* path pattern (it does begin with a slash &#x27;/&#x27;) then it must
* refer to a path within the output directory. It is an error
* if any glob resolves to a path outside the output directory.
* Specifically this means globs that resolve to paths outside the output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public java.util.Map<String, Object> getExtensionFields() {
* Only valid when `type: File` or is an array of `items: File`.
*
* Read up to the first 64 KiB of text from the file and place it in the
* "contents" field of the file object for use by expressions.
* &quot;contents&quot; field of the file object for use by expressions.
* * </BLOCKQUOTE>
*/

Expand Down Expand Up @@ -96,9 +96,9 @@ public java.util.Optional<LoadListingEnum> getLoadListing() {
* match and return files/directories which actually exist.
*
* If the value of glob is a relative path pattern (does not
* begin with a slash '/') then it is resolved relative to the
* begin with a slash &#x27;/&#x27;) then it is resolved relative to the
* output directory. If the value of the glob is an absolute
* path pattern (it does begin with a slash '/') then it must
* path pattern (it does begin with a slash &#x27;/&#x27;) then it must
* refer to a path within the output directory. It is an error
* if any glob resolves to a path outside the output directory.
* Specifically this means globs that resolve to paths outside the output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public interface CommandOutputParameter extends OutputParameter, Saveable {
* `path` or `location` and `basename` fields set, or an array consisting
* of strings or File or Directory objects. It is legal to reference an
* unchanged File or Directory object taken from input as a secondaryFile.
* The expression may return "null" in which case there is no secondaryFile
* The expression may return &quot;null&quot; in which case there is no secondaryFile
* from that expression.
*
* To work on non-filename-preserving storage systems, portable tool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public java.util.Optional<String> getLabel() {
* `path` or `location` and `basename` fields set, or an array consisting
* of strings or File or Directory objects. It is legal to reference an
* unchanged File or Directory object taken from input as a secondaryFile.
* The expression may return "null" in which case there is no secondaryFile
* The expression may return &quot;null&quot; in which case there is no secondaryFile
* from that expression.
*
* To work on non-filename-preserving storage systems, portable tool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public interface CommandOutputRecordField extends OutputRecordField, Saveable {
* `path` or `location` and `basename` fields set, or an array consisting
* of strings or File or Directory objects. It is legal to reference an
* unchanged File or Directory object taken from input as a secondaryFile.
* The expression may return "null" in which case there is no secondaryFile
* The expression may return &quot;null&quot; in which case there is no secondaryFile
* from that expression.
*
* To work on non-filename-preserving storage systems, portable tool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public java.util.Optional<String> getLabel() {
* `path` or `location` and `basename` fields set, or an array consisting
* of strings or File or Directory objects. It is legal to reference an
* unchanged File or Directory object taken from input as a secondaryFile.
* The expression may return "null" in which case there is no secondaryFile
* The expression may return &quot;null&quot; in which case there is no secondaryFile
* from that expression.
*
* To work on non-filename-preserving storage systems, portable tool
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/commonwl/cwlsdk/cwl1_1/Directory.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ public interface Directory extends Saveable {
* `opendir(2)` syscall.
*
* If the `path` contains [POSIX shell metacharacters](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02)
* (`|`,`&`, `;`, `<`, `>`, `(`,`)`, `$`,`` ` ``, `\`, `"`, `'`,
* `<space>`, `<tab>`, and `<newline>`) or characters
* (`|`,`&amp;`, `;`, `&lt;`, `&gt;`, `(`,`)`, `$`,`` ` ``, `\`, `&quot;`, `&#x27;`,
* `&lt;space&gt;`, `&lt;tab&gt;`, and `&lt;newline&gt;`) or characters
* [not allowed](http://www.iana.org/assignments/idna-tables-6.3.0/idna-tables-6.3.0.xhtml)
* for [Internationalized Domain Names for Applications](https://tools.ietf.org/html/rfc6452)
* then implementations may terminate the process with a
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/commonwl/cwlsdk/cwl1_1/DirectoryImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ public java.util.Optional<String> getLocation() {
* `opendir(2)` syscall.
*
* If the `path` contains [POSIX shell metacharacters](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02)
* (`|`,`&`, `;`, `<`, `>`, `(`,`)`, `$`,`` ` ``, `\`, `"`, `'`,
* `<space>`, `<tab>`, and `<newline>`) or characters
* (`|`,`&amp;`, `;`, `&lt;`, `&gt;`, `(`,`)`, `$`,`` ` ``, `\`, `&quot;`, `&#x27;`,
* `&lt;space&gt;`, `&lt;tab&gt;`, and `&lt;newline&gt;`) or characters
* [not allowed](http://www.iana.org/assignments/idna-tables-6.3.0/idna-tables-6.3.0.xhtml)
* for [Internationalized Domain Names for Applications](https://tools.ietf.org/html/rfc6452)
* then implementations may terminate the process with a
Expand Down
Loading
Loading