Class PerforceCheckOutConsumer
- java.lang.Object
-
- org.apache.maven.scm.provider.perforce.command.AbstractPerforceConsumer
-
- org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutConsumer
-
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class PerforceCheckOutConsumer extends AbstractPerforceConsumer implements org.codehaus.plexus.util.cli.StreamConsumer
- Author:
- Mike Perham
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATE_CLIENTSPEC
static int
STATE_ERROR
static int
STATE_NORMAL
-
Fields inherited from class org.apache.maven.scm.provider.perforce.command.AbstractPerforceConsumer
output
-
-
Constructor Summary
Constructors Constructor Description PerforceCheckOutConsumer(java.lang.String clientspec, java.lang.String repoPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(java.lang.String line)
java.util.List<ScmFile>
getCheckedout()
boolean
isSuccess()
-
Methods inherited from class org.apache.maven.scm.provider.perforce.command.AbstractPerforceConsumer
getOutput
-
-
-
-
Field Detail
-
STATE_CLIENTSPEC
public static final int STATE_CLIENTSPEC
- See Also:
- Constant Field Values
-
STATE_NORMAL
public static final int STATE_NORMAL
- See Also:
- Constant Field Values
-
STATE_ERROR
public static final int STATE_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
consumeLine
public void consumeLine(java.lang.String line)
- Specified by:
consumeLine
in interfaceorg.codehaus.plexus.util.cli.StreamConsumer
-
isSuccess
public boolean isSuccess()
-
getCheckedout
public java.util.List<ScmFile> getCheckedout()
-
-