Class VssTagConsumer
java.lang.Object
org.apache.maven.scm.util.AbstractConsumer
org.apache.maven.scm.provider.vss.commands.tag.VssTagConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class VssTagConsumer
extends AbstractConsumer
implements org.codehaus.plexus.util.cli.StreamConsumer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
Marks "Set the default folder for project" questionprivate String
private static final int
expecting file informationprivate static final int
expecting file path informationprivate static final int
expecting file informationprivate static final int
expecting writable copyprivate static final int
expecting file informationprivate VssScmProviderRepository
private static final int
expecting working folderprivate static final String
Marks start of file dataprivate static final String
Marks getting a new Fileprivate static final String
Marks replacing a old Fileprivate static final String
Marks a writable copy of a File / maybe a conflict -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
consumeLine
(String line) private int
getLineStatus
(String line) Identify the status of a vss get lineprivate void
processGetFile
(String line) Process the current input line in the Get File state.private void
processGetFilePath
(String line) Process the current input line in the Get File Path state.private void
processReplaceFile
(String line) Process the current input line in the Replace File state.Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
getLogger, parseDate, parseDate, setLogger
-
Field Details
-
GET_UNKNOWN
private static final int GET_UNKNOWNexpecting file information- See Also:
-
GET_FILE
private static final int GET_FILEexpecting file information- See Also:
-
REPLACE_FILE
private static final int REPLACE_FILEexpecting file information- See Also:
-
GET_FILE_PATH
private static final int GET_FILE_PATHexpecting file path information- See Also:
-
IS_WRITABLE_COPY
private static final int IS_WRITABLE_COPYexpecting writable copy- See Also:
-
SET_WORKING_FOLDER
private static final int SET_WORKING_FOLDERexpecting working folder- See Also:
-
START_FILE_PATH
Marks start of file data- See Also:
-
START_GETTING
Marks getting a new File- See Also:
-
START_REPLACING
Marks replacing a old File- See Also:
-
START_WRITABLE_COPY
Marks a writable copy of a File / maybe a conflict- See Also:
-
CONTAINS_SET_DEFAULT_WORKING_FOLDER
Marks "Set the default folder for project" question- See Also:
-
currentPath
-
updatedFiles
-
repo
-
-
Constructor Details
-
VssTagConsumer
-
-
Method Details
-
consumeLine
- Specified by:
consumeLine
in interfaceorg.codehaus.plexus.util.cli.StreamConsumer
-
processGetFile
Process the current input line in the Get File state.- Parameters:
line
- a line of text from the VSS log output
-
processReplaceFile
Process the current input line in the Replace File state.- Parameters:
line
- a line of text from the VSS log output
-
processGetFilePath
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
-