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 Stringprivate StringBuilderprivate Stringprivate Stringprivate booleanprivate Map<String, CharSequence> private ScmLoggerprivate static final Stringprivate StringBuilderprivate static final Stringprivate static final Stringprivate static final Stringprivate booleanprivate static final Stringprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeLine(String line) private voidextractCurrentFile(String line, int pos) getPatch()private voidprocessGetDir(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:
consumeLinein 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
-