Compare commits
2 commits
a2f62e1b1b
...
927b549794
Author | SHA1 | Date | |
---|---|---|---|
927b549794 | |||
c32682dafc |
3 changed files with 5 additions and 2 deletions
1
.idea/misc.xml
generated
1
.idea/misc.xml
generated
|
@ -8,6 +8,7 @@
|
|||
<option name="customRuleSets">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/config/pmd.xml" />
|
||||
<option value="K:\java\semver\config\pmd.xml" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="options">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# [b<span style="color:orange">l</span>d](https://rife2.com/bldb) Command Line Execution Extension
|
||||
# [b<span style="color:orange">l</span>d](https://rife2.com/bld) Command Line Execution Extension
|
||||
|
||||
[](https://opensource.org/licenses/Apache-2.0)
|
||||
[](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||
|
|
|
@ -48,6 +48,8 @@ public class ExecOperation extends AbstractOperation<ExecOperation> {
|
|||
* <li>{@code command("cmd", "/c", "stop.bat")}</li>
|
||||
* <li>{@code command("./stop.sh"}</li>
|
||||
* </ul></p>
|
||||
*
|
||||
* @see #command(Collection)
|
||||
*/
|
||||
public ExecOperation command(String... arg) {
|
||||
args_.addAll(List.of(arg));
|
||||
|
@ -59,7 +61,7 @@ public class ExecOperation extends AbstractOperation<ExecOperation> {
|
|||
*
|
||||
* @see #command(String...)
|
||||
*/
|
||||
public ExecOperation command(List<String> args) {
|
||||
public ExecOperation command(Collection<String> args) {
|
||||
args_.addAll(args);
|
||||
return this;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue