protected ListScmResult list( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters )
throws ScmException
{
// We need to call the status command first, so that we can get the details of the stream etc.
// This is needed for workspace deliveries and snapshot promotions.
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 );
}