|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.perforce.maven.scm.provider.p4.command.P4Result com.perforce.maven.scm.provider.p4.command.diff.P4DiffResult
public class P4DiffResult
This class handles the result from the Perforce diff2 command.
Field Summary |
---|
Fields inherited from class com.perforce.maven.scm.provider.p4.command.P4Result |
---|
commandOutput, commandResult, LINE_SEPARATOR, success |
Constructor Summary | |
---|---|
P4DiffResult()
|
Method Summary | |
---|---|
List<org.apache.maven.scm.ScmFile> |
getChangedFiles()
Gets the changed files. |
Map<String,String> |
getDifferences()
Gets the differences. |
String |
getFileDiffOutput()
Gets the file diff output. |
String |
getPatch()
Gets the patch. |
void |
processFileDiffs(List<com.perforce.p4java.core.IFileDiff> fileDiffs)
Extracts diff output from the returned diff2 command result file diffs. |
String |
processMessage(String message)
Process message. |
Methods inherited from class com.perforce.maven.scm.provider.p4.command.P4Result |
---|
getCommandOutput, getCommandResult, isSuccess, process, setSuccess |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public P4DiffResult()
Method Detail |
---|
public String processMessage(String message)
processMessage
in class P4Result
message
- the message
(java.lang.String)
public void processFileDiffs(List<com.perforce.p4java.core.IFileDiff> fileDiffs)
fileDiffs
- the file diffspublic String getFileDiffOutput()
public List<org.apache.maven.scm.ScmFile> getChangedFiles()
public Map<String,String> getDifferences()
public String getPatch()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |