buildCmdLine
protected Commandline buildCmdLine()
Builds a command line to execute ss.
- The constructed commandline.
setAutoresponse
public void setAutoresponse(String response)
Autoresponce behaviour. Valid options are Y and N.
response
- The auto response value.
setDate
public void setDate(String date)
Date to check-out.
date
- The date to check-out.
setFileTimeStamp
public void setFileTimeStamp(MSVSS.CurrentModUpdated timestamp)
Date and time stamp given to the local copy. Defaults to current
.
timestamp
- The file time stamping behaviour.
setGetLocalCopy
public void setGetLocalCopy(boolean get)
Retrieve a local copy during a checkout. Defaults to true.
get
- The get local copy behaviour
setLabel
public void setLabel(String label)
Label to check-out.
label
- The label to check-out.
setLocalpath
public void setLocalpath(Path localPath)
Override the project working directory.
localPath
- The path on disk.
setRecursive
public void setRecursive(boolean recursive)
Check-out files recursively. Defaults to false.
recursive
- The boolean value for recursive.
setVersion
public void setVersion(String version)
Version to check-out.
version
- The version to check-out.
setWritableFiles
public void setWritableFiles(MSVSS.WritableFiles files)
Action taken when local files are writable. Defaults to
fail
.
Due to ss.exe returning with an exit code of '100' for both errors and when
a file has been skipped,
failonerror
is set to false when using
the
skip
option.
files
- The writable files behaviour