/** * {@inheritDoc} */ public ListScmResult list( ScmRepository repository, ScmFileSet fileSet, boolean recursive, String tag ) throws ScmException { ScmVersion scmVersion = null; if ( StringUtils.isNotEmpty( tag ) ) { scmVersion = new ScmRevision( tag ); } return list( repository, fileSet, recursive, scmVersion ); }
/** * {@inheritDoc} */ public ListScmResult list( ScmRepository repository, ScmFileSet fileSet, boolean recursive, String tag ) throws ScmException { ScmVersion scmVersion = null; if ( StringUtils.isNotEmpty( tag ) ) { scmVersion = new ScmRevision( tag ); } return list( repository, fileSet, recursive, scmVersion ); }
/** * {@inheritDoc} */ public ListScmResult list( ScmRepository repository, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion ) throws ScmException { login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); parameters.setString( CommandParameter.RECURSIVE, Boolean.toString( recursive ) ); if ( scmVersion != null ) { parameters.setScmVersion( CommandParameter.SCM_VERSION, scmVersion ); } return list( repository.getProviderRepository(), fileSet, parameters ); }
/** * {@inheritDoc} */ public ListScmResult list( ScmRepository repository, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion ) throws ScmException { login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); parameters.setString( CommandParameter.RECURSIVE, Boolean.toString( recursive ) ); if ( scmVersion != null ) { parameters.setScmVersion( CommandParameter.SCM_VERSION, scmVersion ); } return list( repository.getProviderRepository(), fileSet, parameters ); }