public class MSVSSCHECKOUT extends MSVSS
MSVSS.CurrentModUpdated, MSVSS.WritableFiles
COMMAND_ADD, COMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_CP, COMMAND_CREATE, COMMAND_GET, COMMAND_HISTORY, COMMAND_LABEL, FLAG_AUTORESPONSE_DEF, FLAG_AUTORESPONSE_NO, FLAG_AUTORESPONSE_YES, FLAG_BRIEF, FLAG_CODEDIFF, FLAG_COMMENT, FLAG_FILETIME_DEF, FLAG_FILETIME_MODIFIED, FLAG_FILETIME_UPDATED, FLAG_LABEL, FLAG_LOGIN, FLAG_NO_FILE, FLAG_NO_GET, FLAG_OUTPUT, FLAG_OVERRIDE_WORKING_DIR, FLAG_QUIET, FLAG_RECURSION, FLAG_REPLACE_WRITABLE, FLAG_SKIP_WRITABLE, FLAG_USER, FLAG_VERSION, FLAG_VERSION_DATE, FLAG_VERSION_LABEL, FLAG_WRITABLE, PROJECT_PREFIX, SS_EXE, STYLE_BRIEF, STYLE_CODEDIFF, STYLE_DEFAULT, STYLE_NOFILE, TIME_CURRENT, TIME_MODIFIED, TIME_UPDATED, VALUE_FROMDATE, VALUE_FROMLABEL, VALUE_NO, VALUE_YES, WRITABLE_FAIL, WRITABLE_REPLACE, WRITABLE_SKIP
Constructor and Description |
---|
MSVSSCHECKOUT() |
Modifier and Type | Method and Description |
---|---|
protected Commandline |
buildCmdLine()
Builds a command line to execute ss.
|
void |
setAutoresponse(String response)
Autoresponce behaviour.
|
void |
setDate(String date)
Date to check-out.
|
void |
setFileTimeStamp(MSVSS.CurrentModUpdated timestamp)
Date and time stamp given to the local copy.
|
void |
setGetLocalCopy(boolean get)
Retrieve a local copy during a checkout.
|
void |
setLabel(String label)
Label to check-out.
|
void |
setLocalpath(Path localPath)
Override the project working directory.
|
void |
setRecursive(boolean recursive)
Check-out files recursively.
|
void |
setVersion(String version)
Version to check-out.
|
void |
setWritableFiles(MSVSS.WritableFiles files)
Action taken when local files are writable.
|
execute, getAutoresponse, getComment, getFileTimeStamp, getGetLocalCopy, getLabel, getLocalpath, getLogin, getOutput, getQuiet, getRecursive, getSSCommand, getStyle, getUser, getVersion, getVersionDate, getVersionDateLabel, getVersionLabel, getVsspath, getWritable, getWritableFiles, setFailOnError, setInternalAutoResponse, setInternalComment, setInternalDate, setInternalDateFormat, setInternalFailOnError, setInternalFileTimeStamp, setInternalFromDate, setInternalFromLabel, setInternalGetLocalCopy, setInternalLabel, setInternalLocalPath, setInternalNumDays, setInternalOutputFilename, setInternalQuiet, setInternalRecursive, setInternalStyle, setInternalToDate, setInternalToLabel, setInternalUser, setInternalVersion, setInternalWritable, setInternalWritableFiles, setLogin, setServerpath, setSsdir, setVsspath
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
protected Commandline buildCmdLine()
public void setAutoresponse(String response)
response
- The auto response value.public void setDate(String date)
date
- The date to check-out.public void setFileTimeStamp(MSVSS.CurrentModUpdated timestamp)
current
.timestamp
- The file time stamping behaviour.public void setGetLocalCopy(boolean get)
get
- The get local copy behaviourpublic void setLabel(String label)
label
- The label to check-out.public void setLocalpath(Path localPath)
localPath
- The path on disk.public void setRecursive(boolean recursive)
recursive
- The boolean value for recursive.public void setVersion(String version)
version
- The version to check-out.public void setWritableFiles(MSVSS.WritableFiles files)
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