|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.perforce.maven.scm.provider.p4.command.P4Result
public abstract class P4Result
This class handles the result from the Perforce command.
| Field Summary | |
|---|---|
protected String |
commandOutput
The command output. |
protected List<org.apache.maven.scm.ScmFile> |
commandResult
The command result. |
static String |
LINE_SEPARATOR
Line separator for this system. |
protected boolean |
success
The success. |
| Constructor Summary | |
|---|---|
P4Result()
|
|
| Method Summary | |
|---|---|
String |
getCommandOutput()
Gets the command output. |
List<org.apache.maven.scm.ScmFile> |
getCommandResult()
Gets the command result. |
boolean |
isSuccess()
Checks if is success. |
void |
process(List<com.perforce.p4java.core.file.IFileSpec> fileSpecs)
Processes the command result filespecs. |
abstract String |
processMessage(String message)
Process message. |
void |
setSuccess(boolean success)
Sets the success. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String LINE_SEPARATOR
protected boolean success
protected List<org.apache.maven.scm.ScmFile> commandResult
protected String commandOutput
| Constructor Detail |
|---|
public P4Result()
| Method Detail |
|---|
public void process(List<com.perforce.p4java.core.file.IFileSpec> fileSpecs)
fileSpecs - the file specspublic abstract String processMessage(String message)
message - the message
public List<org.apache.maven.scm.ScmFile> getCommandResult()
public String getCommandOutput()
public boolean isSuccess()
public void setSuccess(boolean success)
success - the new success
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||