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 Details

    • DIFF_UNKNOWN

      private static final int DIFF_UNKNOWN
      expecting file information
      See Also:
    • DIFF_LOCAL_FILES_NOT_IN_PROJECT

      private static final int DIFF_LOCAL_FILES_NOT_IN_PROJECT
      expecting files to checkin
      See Also:
    • DIFF_VSS_FILES_DIFFERENT_FROM_LOCAL_FILES

      private static final int DIFF_VSS_FILES_DIFFERENT_FROM_LOCAL_FILES
      expecting commit
      See Also:
    • DIFF_VSS_FILES_NOT_IN_CURRENT_FOLDER

      private static final int DIFF_VSS_FILES_NOT_IN_CURRENT_FOLDER
      expecting update / checkout
      See Also:
    • DIFF_START_DIFFING_REMOTE

      private static final int DIFF_START_DIFFING_REMOTE
      expecting setting akt remote folder
      See Also:
    • DIFF_START_DIFFING_LOCAL

      private static final int DIFF_START_DIFFING_LOCAL
      expecting setting akt local folder
      See Also:
    • START_DIFFING_REMOTE

      private static final String START_DIFFING_REMOTE
      Marks Diffing remote project folder
      See Also:
    • START_DIFFING_LOCAL

      private static final String START_DIFFING_LOCAL
      Marks Diffing local project folder
      See Also:
    • LOCAL_FILES_NOT_IN_PROJECT

      private static final String LOCAL_FILES_NOT_IN_PROJECT
      Marks Local files not in the current project
      See Also:
    • VSS_FILES_DIFFERENT_FROM_LOCAL_FILES

      private static final String VSS_FILES_DIFFERENT_FROM_LOCAL_FILES
      Marks SourceSafe files different from local files
      See Also:
    • VSS_FILES_NOT_IN_CURRENT_FOLDER

      private static final String VSS_FILES_NOT_IN_CURRENT_FOLDER
      Marks SourceSafe files not in the current folder
      See Also:
    • remoteProjectFolder

      private String remoteProjectFolder
    • localFolder

      private String localFolder
    • lastState

      private int lastState
    • updatedFiles

      private List<ScmFile> updatedFiles
    • repo

    • fileSet

      private ScmFileSet fileSet
  • Constructor Details

  • Method Details

    • consumeLine

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

      private void processLastStateFiles(String line)
      Process the current input line in the Get File state.
      Parameters:
      line - a line of text from the VSS log output
    • processLocalFolder

      private void processLocalFolder(String line)
      Process the current input line in the Get File Path state.
      Parameters:
      line - a line of text from the VSS log output
    • processRemoteProjectFolder

      private void processRemoteProjectFolder(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(String line)
      Identify the status of a vss get line
      Parameters:
      line - The line to process
      Returns:
      status
    • getUpdatedFiles

      public List<ScmFile> getUpdatedFiles()
    • setLocalFolder

      private void setLocalFolder(String localFolder)
    • setRemoteProjectFolder

      private void setRemoteProjectFolder(String remoteProjectFolder)