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 StringMarks "Set the default folder for project" questionprivate Stringprivate static final intexpecting file informationprivate static final intexpecting file path informationprivate static final intexpecting file informationprivate static final intexpecting writable copyprivate static final intexpecting file informationprivate VssScmProviderRepositoryprivate static final intexpecting working folderprivate static final StringMarks start of file dataprivate static final StringMarks getting a new Fileprivate static final StringMarks replacing a old Fileprivate static final StringMarks a writable copy of a File / maybe a conflict -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeLine(String line) private intgetLineStatus(String line) Identify the status of a vss get lineprivate voidprocessGetFile(String line) Process the current input line in the Get File state.private voidprocessGetFilePath(String line) Process the current input line in the Get File Path state.private voidprocessReplaceFile(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:
consumeLinein 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
-