use of org.apache.maven.scm.provider.jazz.command.list.JazzListCommand in project maven-scm by apache.
the class JazzScmProvider method list.
/**
* {@inheritDoc}
*/
protected ListScmResult list(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException {
getLogger().debug("JazzScmProvider:list()");
// We need to call the status command first, so that we can get the details of the stream etc.
// This is needed for workspace and component names.
JazzStatusCommand statusCommand = new JazzStatusCommand();
statusCommand.setLogger(getLogger());
statusCommand.execute(repository, fileSet, parameters);
JazzListCommand command = new JazzListCommand();
command.setLogger(getLogger());
return (ListScmResult) command.execute(repository, fileSet, parameters);
}
Aggregations