com.perforce.maven.scm.provider.p4.command.remove
Class P4RemoveResult

java.lang.Object
  extended by com.perforce.maven.scm.provider.p4.command.P4Result
      extended by com.perforce.maven.scm.provider.p4.command.remove.P4RemoveResult

public class P4RemoveResult
extends P4Result

This class handles the result from the Perforce delete command.


Field Summary
 
Fields inherited from class com.perforce.maven.scm.provider.p4.command.P4Result
commandOutput, commandResult, LINE_SEPARATOR, success
 
Constructor Summary
P4RemoveResult()
           
 
Method Summary
 List<String> getRemovals()
          Gets the removals.
 String processMessage(String message)
          Process message.
 void processRemovals(List<com.perforce.p4java.core.file.IFileSpec> fileSpecs)
          Extracts the file paths from the delete command result filespecs.
 
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

P4RemoveResult

public P4RemoveResult()
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)

processRemovals

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

Parameters:
fileSpecs - the file specs

getRemovals

public List<String> getRemovals()
Gets the removals.

Returns:
the removals


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