/** * {@inheritDoc} */ public CheckOutScmResult checkOut( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, boolean recursive ) throws ScmException { login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); parameters.setScmVersion( CommandParameter.SCM_VERSION, scmVersion ); parameters.setString( CommandParameter.RECURSIVE, Boolean.toString( recursive ) ); return checkout( repository.getProviderRepository(), fileSet, parameters ); }
@Override public CheckOutScmResult checkOut( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, CommandParameters commandParameters ) throws ScmException { login( repository, fileSet ); if ( scmVersion != null && commandParameters.getScmVersion( CommandParameter.SCM_VERSION, null ) == null ) { commandParameters.setScmVersion( CommandParameter.SCM_VERSION, scmVersion ); } return checkout( repository.getProviderRepository(), fileSet, commandParameters ); }
/** * {@inheritDoc} */ public CheckOutScmResult checkOut( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, boolean recursive ) throws ScmException { login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); parameters.setScmVersion( CommandParameter.SCM_VERSION, scmVersion ); parameters.setString( CommandParameter.RECURSIVE, Boolean.toString( recursive ) ); return checkout( repository.getProviderRepository(), fileSet, parameters ); }
@Override public CheckOutScmResult checkOut( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, CommandParameters commandParameters ) throws ScmException { login( repository, fileSet ); if ( scmVersion != null && commandParameters.getScmVersion( CommandParameter.SCM_VERSION, null ) == null ) { commandParameters.setScmVersion( CommandParameter.SCM_VERSION, scmVersion ); } return checkout( repository.getProviderRepository(), fileSet, commandParameters ); }