public class PerforceLoginConsumer extends AbstractPerforceConsumer implements org.codehaus.plexus.util.cli.StreamConsumer
Modifier and Type | Field and Description |
---|---|
private int |
currentState |
private static java.util.regex.Pattern |
LOGIN_PATTERN |
static int |
STATE_ERROR |
static int |
STATE_LOGIN |
output
Constructor and Description |
---|
PerforceLoginConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
consumeLine(java.lang.String line) |
private void |
error(java.lang.String line) |
boolean |
isSuccess() |
getOutput
private static final java.util.regex.Pattern LOGIN_PATTERN
public static final int STATE_LOGIN
public static final int STATE_ERROR
private int currentState