public class JazzStatusConsumer extends AbstractRepositoryConsumer
Modifier and Type | Field and Description |
---|---|
static String |
STATUS_CMD_ADD_FLAG
The "Status" command status flag for a resource that has been added.
|
static String |
STATUS_CMD_BASELINE
The "Status" command output line that contains the "Workspace" name.
|
static String |
STATUS_CMD_CHANGE_FLAG
The "Status" command status flag for when the content or properties of
a file have been modified, or the properties of a directory have changed.
|
static String |
STATUS_CMD_COMPONENT
The "Status" command output line that contains the "Component" name.
|
static String |
STATUS_CMD_DELETE_FLAG
The "Status" command status flag for a resource that has been deleted.
|
static String |
STATUS_CMD_MOVED_FLAG
The "Status" command status flag for a resource that has been renamed or moved.
|
static String |
STATUS_CMD_WORKSPACE
The "Status" command output line that contains the "Workspace" name.
|
fed
Constructor and Description |
---|
JazzStatusConsumer(ScmProviderRepository repo,
ScmLogger logger)
Constructor for our "scm status" consumer.
|
Modifier and Type | Method and Description |
---|---|
void |
consumeLine(String line)
Process one line of output from the execution of the "scm status" command.
|
List<ScmFile> |
getChangedFiles() |
getRepository, isFed, setFed, setRepository
getLogger, parseDate, parseDate, setLogger
public static final String STATUS_CMD_WORKSPACE
public static final String STATUS_CMD_COMPONENT
public static final String STATUS_CMD_BASELINE
public static final String STATUS_CMD_ADD_FLAG
public static final String STATUS_CMD_CHANGE_FLAG
public static final String STATUS_CMD_DELETE_FLAG
public static final String STATUS_CMD_MOVED_FLAG
public JazzStatusConsumer(ScmProviderRepository repo, ScmLogger logger)
repo
- The JazzScmProviderRepository being used.logger
- The ScmLogger to use.public void consumeLine(String line)
consumeLine
in interface StreamConsumer
consumeLine
in class AbstractRepositoryConsumer
line
- The line of output from the external command that has been pumped to us.StreamConsumer.consumeLine(java.lang.String)
public List<ScmFile> getChangedFiles()
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.