public class WindowsCommand extends ShellCommand
convert
Modifier | Constructor and Description |
---|---|
protected |
WindowsCommand(String command,
boolean ignoreExitCode,
boolean convert)
Constructor using fields.
|
Modifier and Type | Method and Description |
---|---|
protected hudson.util.ArgumentListBuilder |
getArguments(hudson.FilePath script)
Get the command line to execute.
|
protected String |
getExtension()
Get the extension of the script file.
|
protected String |
getSourceContent()
Get the script content before potential conversions.
|
protected String |
getSourceSeparator()
Get the separator to replace during conversion.
|
protected Pattern |
getSourceVariable()
Get the variable pattern.
|
protected String |
getTargetSeparator()
Get the separator.
|
protected String |
getTargetVariable()
Get the variable replacement pattern.
|
getContents, getEnvironment
createScriptFile, get, getCommand, isExitCodeIgnored, launch
protected WindowsCommand(String command, boolean ignoreExitCode, boolean convert)
command
- The content of the execution scriptignoreExitCode
- Is exit code ignored?convert
- Convert shell to batchprotected String getExtension()
Command
getExtension
in class Command
protected String getSourceContent()
ShellCommand
getSourceContent
in class ShellCommand
protected String getSourceSeparator()
ShellCommand
getSourceSeparator
in class ShellCommand
protected String getTargetSeparator()
ShellCommand
getTargetSeparator
in class ShellCommand
protected Pattern getSourceVariable()
ShellCommand
getSourceVariable
in class ShellCommand
protected String getTargetVariable()
ShellCommand
getTargetVariable
in class ShellCommand
protected hudson.util.ArgumentListBuilder getArguments(hudson.FilePath script)
Command
getArguments
in class Command
script
- The script to executeCopyright © 2004-2018. All Rights Reserved.