Interface CmdArg
- All Known Implementing Classes:
CmdArgCmdOp, CmdArgLiteral, CmdArgRedirect, CmdArgString, CmdArgWord
public interface CmdArg
Argument to a CmdOpExec.
Path arguments may require quoting before they can be turned to the final strings.
-
Method Summary
Modifier and TypeMethodDescription<T> Taccept(CmdArgVisitor<T> visitor) static CmdArgofCommandSubstitution(CmdOp cmdOp) "foo$(echo bar)" -> foobarstatic CmdArgstatic CmdArgofPathString(String pathStr) static CmdArgofProcessSubstution(CmdOp cmdOp) static CmdArgstatic CmdArgstatic CmdArgredirect(CmdRedirect redirect)
-
Method Details
-
accept
-
redirect
-
ofLiteral
-
ofString
-
ofPathString
-
ofVarName
-
ofCommandSubstitution
-
ofProcessSubstution
-