com.perforce.maven.scm.provider.p4.command.branch
Class P4BranchResult

java.lang.Object
  extended by com.perforce.maven.scm.provider.p4.command.P4Result
      extended by com.perforce.maven.scm.provider.p4.command.branch.P4BranchResult

public class P4BranchResult
extends P4Result

This class handles the result from the Perforce add command.


Field Summary
 
Fields inherited from class com.perforce.maven.scm.provider.p4.command.P4Result
commandOutput, commandResult, LINE_SEPARATOR, success
 
Constructor Summary
P4BranchResult()
           
 
Method Summary
 List<String> getAdditions()
          Gets the additions.
 void processAdditions(List<com.perforce.p4java.core.file.IFileSpec> fileSpecs)
          Extracts the file paths from the add command result filespecs.
 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

P4BranchResult

public P4BranchResult()
Method Detail

processMessage

public String processMessage(String message)
Description copied from class: P4Result
Process message.

Specified by:
processMessage in class P4Result
Parameters:
message - the message
Returns:
the string
See Also:
(java.lang.String)

processAdditions

public void processAdditions(List<com.perforce.p4java.core.file.IFileSpec> fileSpecs)
Extracts the file paths from the add command result filespecs.

Parameters:
fileSpecs - the file specs

getAdditions

public List<String> getAdditions()
Gets the additions.

Returns:
the additions


Copyright © 2003-2011 Perforce Software. All Rights Reserved.