Class VssStatusConsumer
java.lang.Object
org.apache.maven.scm.util.AbstractConsumer
org.apache.maven.scm.provider.vss.commands.status.VssStatusConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class VssStatusConsumer
extends AbstractConsumer
implements org.codehaus.plexus.util.cli.StreamConsumer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intexpecting files to checkinprivate static final intexpecting setting akt local folderprivate static final intexpecting setting akt remote folderprivate static final intexpecting file informationprivate static final intexpecting commitprivate static final intexpecting update / checkoutprivate ScmFileSetprivate intprivate static final StringMarks Local files not in the current projectprivate Stringprivate Stringprivate VssScmProviderRepositoryprivate static final StringMarks Diffing local project folderprivate static final StringMarks Diffing remote project folderprivate static final StringMarks SourceSafe files different from local filesprivate static final StringMarks SourceSafe files not in the current folder -
Constructor Summary
ConstructorsConstructorDescriptionVssStatusConsumer(VssScmProviderRepository repo, ScmLogger logger, ScmFileSet fileSet) -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeLine(String line) private intgetLineStatus(String line) Identify the status of a vss get lineprivate voidprocessLastStateFiles(String line) Process the current input line in the Get File state.private voidprocessLocalFolder(String line) Process the current input line in the Get File Path state.private voidProcess the current input line in the Get File Path state.private voidsetLocalFolder(String localFolder) private voidsetRemoteProjectFolder(String remoteProjectFolder) Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
getLogger, parseDate, parseDate, setLogger
-
Field Details
-
DIFF_UNKNOWN
private static final int DIFF_UNKNOWNexpecting file information- See Also:
-
DIFF_LOCAL_FILES_NOT_IN_PROJECT
private static final int DIFF_LOCAL_FILES_NOT_IN_PROJECTexpecting files to checkin- See Also:
-
DIFF_VSS_FILES_DIFFERENT_FROM_LOCAL_FILES
private static final int DIFF_VSS_FILES_DIFFERENT_FROM_LOCAL_FILESexpecting commit- See Also:
-
DIFF_VSS_FILES_NOT_IN_CURRENT_FOLDER
private static final int DIFF_VSS_FILES_NOT_IN_CURRENT_FOLDERexpecting update / checkout- See Also:
-
DIFF_START_DIFFING_REMOTE
private static final int DIFF_START_DIFFING_REMOTEexpecting setting akt remote folder- See Also:
-
DIFF_START_DIFFING_LOCAL
private static final int DIFF_START_DIFFING_LOCALexpecting setting akt local folder- See Also:
-
START_DIFFING_REMOTE
Marks Diffing remote project folder- See Also:
-
START_DIFFING_LOCAL
Marks Diffing local project folder- See Also:
-
LOCAL_FILES_NOT_IN_PROJECT
Marks Local files not in the current project- See Also:
-
VSS_FILES_DIFFERENT_FROM_LOCAL_FILES
Marks SourceSafe files different from local files- See Also:
-
VSS_FILES_NOT_IN_CURRENT_FOLDER
Marks SourceSafe files not in the current folder- See Also:
-
remoteProjectFolder
-
localFolder
-
lastState
private int lastState -
updatedFiles
-
repo
-
fileSet
-
-
Constructor Details
-
VssStatusConsumer
-
-
Method Details
-
consumeLine
- Specified by:
consumeLinein interfaceorg.codehaus.plexus.util.cli.StreamConsumer
-
processLastStateFiles
Process the current input line in the Get File state.- Parameters:
line- a line of text from the VSS log output
-
processLocalFolder
Process the current input line in the Get File Path state.- Parameters:
line- a line of text from the VSS log output
-
processRemoteProjectFolder
Process the current input line in the Get File Path state.- Parameters:
line- a line of text from the VSS log output
-
getLineStatus
Identify the status of a vss get line- Parameters:
line- The line to process- Returns:
- status
-
getUpdatedFiles
-
setLocalFolder
-
setRemoteProjectFolder
-