org.apache.maven.scm.provider.perforce.command.tag
Class PerforceTagConsumer

java.lang.Object
  extended by org.apache.maven.scm.provider.perforce.command.AbstractPerforceConsumer
      extended by org.apache.maven.scm.provider.perforce.command.tag.PerforceTagConsumer
All Implemented Interfaces:
StreamConsumer

public class PerforceTagConsumer
extends AbstractPerforceConsumer
implements StreamConsumer

Version:
$Id: PerforceTagConsumer.java 1056959 2011-01-09 15:02:55Z olamy $
Author:
Mike Perham, Olivier Lamy

Field Summary
static int STATE_CREATE
           
static int STATE_ERROR
           
static int STATE_SYNC
           
 
Fields inherited from class org.apache.maven.scm.provider.perforce.command.AbstractPerforceConsumer
output
 
Constructor Summary
PerforceTagConsumer()
           
 
Method Summary
 void consumeLine(String line)
          
 List<ScmFile> getTagged()
          Return a list of Strings formatted like:

//depot/modules/cordoba/runtime-ear/pom.xml //depot/modules/cordoba/runtime-ear/.runtime

 boolean isSuccess()
           
 
Methods inherited from class org.apache.maven.scm.provider.perforce.command.AbstractPerforceConsumer
getOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_CREATE

public static final int STATE_CREATE
See Also:
Constant Field Values

STATE_SYNC

public static final int STATE_SYNC
See Also:
Constant Field Values

STATE_ERROR

public static final int STATE_ERROR
See Also:
Constant Field Values
Constructor Detail

PerforceTagConsumer

public PerforceTagConsumer()
Method Detail

getTagged

public List<ScmFile> getTagged()
Return a list of Strings formatted like:

 //depot/modules/cordoba/runtime-ear/pom.xml
 //depot/modules/cordoba/runtime-ear/.runtime
 


consumeLine

public void consumeLine(String line)

Specified by:
consumeLine in interface StreamConsumer

isSuccess

public boolean isSuccess()


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.