Class VssCheckInConsumer

  • All Implemented Interfaces:
    org.codehaus.plexus.util.cli.StreamConsumer

    public class VssCheckInConsumer
    extends AbstractConsumer
    implements org.codehaus.plexus.util.cli.StreamConsumer
    Since:
    1.3
    • Field Detail

      • GET_UNKNOWN

        private static final int GET_UNKNOWN
        expecting file information
        See Also:
        Constant Field Values
      • REPLACE_FILE

        private static final int REPLACE_FILE
        expecting file information
        See Also:
        Constant Field Values
      • GET_FILE_PATH

        private static final int GET_FILE_PATH
        expecting file path information
        See Also:
        Constant Field Values
      • IS_WRITABLE_COPY

        private static final int IS_WRITABLE_COPY
        expecting writable copy
        See Also:
        Constant Field Values
      • SET_WORKING_FOLDER

        private static final int SET_WORKING_FOLDER
        expecting working folder
        See Also:
        Constant Field Values
      • START_FILE_PATH

        private static final java.lang.String START_FILE_PATH
        Marks start of file data
        See Also:
        Constant Field Values
      • START_GETTING

        private static final java.lang.String START_GETTING
        Marks getting a new File
        See Also:
        Constant Field Values
      • START_REPLACING

        private static final java.lang.String START_REPLACING
        Marks replacing a old File
        See Also:
        Constant Field Values
      • START_WRITABLE_COPY

        private static final java.lang.String START_WRITABLE_COPY
        Marks a writable copy of a File / maybe a conflict
        See Also:
        Constant Field Values
      • CONTAINS_SET_DEFAULT_WORKING_FOLDER

        private static final java.lang.String CONTAINS_SET_DEFAULT_WORKING_FOLDER
        Marks "Set the default folder for project" question
        See Also:
        Constant Field Values
      • currentPath

        private java.lang.String currentPath
      • updatedFiles

        private java.util.List<ScmFile> updatedFiles
    • Method Detail

      • consumeLine

        public void consumeLine​(java.lang.String line)
        Specified by:
        consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumer
      • processGetFile

        private void processGetFile​(java.lang.String line)
        Process the current input line in the Get File state.
        Parameters:
        line - a line of text from the VSS log output
      • processReplaceFile

        private void processReplaceFile​(java.lang.String line)
        Process the current input line in the Replace File state.
        Parameters:
        line - a line of text from the VSS log output
      • processGetFilePath

        private void processGetFilePath​(java.lang.String line)
        Process the current input line in the Get File Path state.
        Parameters:
        line - a line of text from the VSS log output
      • getLineStatus

        private int getLineStatus​(java.lang.String line)
        Identify the status of a vss get line
        Parameters:
        line - The line to process
        Returns:
        status
      • getUpdatedFiles

        public java.util.List<ScmFile> getUpdatedFiles()