Class StarteamDiffConsumer
java.lang.Object
org.apache.maven.scm.provider.starteam.command.diff.StarteamDiffConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class StarteamDiffConsumer
extends Object
implements org.codehaus.plexus.util.cli.StreamConsumer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private StringBuilder
private String
private String
private boolean
private Map
<String, CharSequence> private ScmLogger
private static final String
private StringBuilder
private static final String
private static final String
private static final String
private boolean
private static final String
private static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
consumeLine
(String line) private void
extractCurrentFile
(String line, int pos) getPatch()
private void
processGetDir
(String line, int pos) Process the current input line in the Get Directory
-
Field Details
-
WORKING_DIR_TOKEN
- See Also:
-
PATCH_SEPARATOR_TOKEN
- See Also:
-
REVISION_TOKEN
- See Also:
-
ONDISK_TOKEN
- See Also:
-
ADDED_LINE_TOKEN
- See Also:
-
REMOVED_LINE_TOKEN
- See Also:
-
UNCHANGED_LINE_TOKEN
- See Also:
-
logger
-
currentDir
-
diffBlockProcessingStarted
private boolean diffBlockProcessingStarted -
revisionBlockStarted
private boolean revisionBlockStarted -
currentFile
-
currentDifference
-
changedFiles
-
differences
-
patch
-
-
Constructor Details
-
StarteamDiffConsumer
-
-
Method Details
-
consumeLine
- Specified by:
consumeLine
in interfaceorg.codehaus.plexus.util.cli.StreamConsumer
-
processGetDir
Process the current input line in the Get Directory- Parameters:
line
- a line of text from the Starteam log output
-
extractCurrentFile
-
getChangedFiles
-
getDifferences
-
getPatch
-