public class JazzUpdateConsumer extends AbstractRepositoryConsumer
| Modifier and Type | Field and Description | 
|---|---|
static String | 
UPDATE_CMD_ADD_FLAG
The "Update" command status flag for a resource that has been added. 
 | 
static String | 
UPDATE_CMD_CHANGE_FLAG
The "Update" 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 | 
UPDATE_CMD_DELETE_FLAG
The "Update" command status flag for a resource that has been deleted. 
 | 
static String | 
UPDATE_CMD_MOVED_FLAG
The "Update" command status flag for a resource that has been renamed or moved. 
 | 
fed| Constructor and Description | 
|---|
JazzUpdateConsumer(ScmProviderRepository repository,
                                    ScmLogger logger)
Construct the JazzUpdateCommand consumer. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
consumeLine(String line)
Process one line of output from the execution of the "scm xxxx" command. 
 | 
List<ScmFile> | 
getUpdatedFiles()  | 
getRepository, isFed, setFed, setRepositorygetLogger, parseDate, parseDate, setLoggerpublic static final String UPDATE_CMD_ADD_FLAG
public static final String UPDATE_CMD_CHANGE_FLAG
public static final String UPDATE_CMD_DELETE_FLAG
public static final String UPDATE_CMD_MOVED_FLAG
public JazzUpdateConsumer(ScmProviderRepository repository, ScmLogger logger)
repository - The repository we are working with.logger - The logger to use.public void consumeLine(String line)
consumeLine in interface StreamConsumerconsumeLine in class AbstractRepositoryConsumerline - The line of output from the external command that has been pumped to us.StreamConsumer.consumeLine(java.lang.String)public List<ScmFile> getUpdatedFiles()
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.