/** * {@inheritDoc} * * @deprecated */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, String tag ) throws ScmException { return update( repository, fileSet, tag, true ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, String datePattern ) throws ScmException { return update( repository, fileSet, scmVersion, datePattern, true ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet ) throws ScmException { return update( repository, fileSet, (ScmVersion) null, true ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, boolean runChangelog ) throws ScmException { return update( repository, fileSet, scmVersion, "", runChangelog ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, Date lastUpdate ) throws ScmException { return update( repository, fileSet, scmVersion, lastUpdate, null ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, String datePattern ) throws ScmException { return update( repository, fileSet, scmVersion, datePattern, true ); }
/** * {@inheritDoc} * * @deprecated */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, String tag, String datePattern ) throws ScmException { return update( repository, fileSet, tag, datePattern, true ); }
/** * {@inheritDoc} * * @deprecated */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, String tag, boolean runChangelog ) throws ScmException { return update( repository, fileSet, tag, "", runChangelog ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion ) throws ScmException { return update( repository, fileSet, scmVersion, true ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, boolean runChangelog ) throws ScmException { return update( repository, fileSet, scmVersion, "", runChangelog ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, Date lastUpdate ) throws ScmException { return update( repository, fileSet, scmVersion, lastUpdate, null ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion ) throws ScmException { return update( repository, fileSet, scmVersion, true ); }
/** * {@inheritDoc} * * @deprecated */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, String tag, String datePattern ) throws ScmException { return update( repository, fileSet, tag, datePattern, true ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, boolean runChangelog ) throws ScmException { return update( repository, fileSet, (ScmVersion) null, "", runChangelog ); }
/** * {@inheritDoc} * * @deprecated */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, String tag, Date lastUpdate ) throws ScmException { return update( repository, fileSet, tag, lastUpdate, null ); }
/** * {@inheritDoc} * * @deprecated */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, String tag ) throws ScmException { return update( repository, fileSet, tag, true ); }
/** * {@inheritDoc} * * @deprecated */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, String tag, boolean runChangelog ) throws ScmException { return update( repository, fileSet, tag, "", runChangelog ); }
/** * {@inheritDoc} */ public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet ) throws ScmException { return update( repository, fileSet, (ScmVersion) null, true ); }
private UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, String datePattern, boolean runChangelog ) throws ScmException { login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); parameters.setScmVersion( CommandParameter.SCM_VERSION, scmVersion ); parameters.setString( CommandParameter.CHANGELOG_DATE_PATTERN, datePattern ); parameters.setString( CommandParameter.RUN_CHANGELOG_WITH_UPDATE, String.valueOf( runChangelog ) ); return update( repository.getProviderRepository(), fileSet, parameters ); }
private UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, String datePattern, boolean runChangelog ) throws ScmException { login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); parameters.setScmVersion( CommandParameter.SCM_VERSION, scmVersion ); parameters.setString( CommandParameter.CHANGELOG_DATE_PATTERN, datePattern ); parameters.setString( CommandParameter.RUN_CHANGELOG_WITH_UPDATE, String.valueOf( runChangelog ) ); return update( repository.getProviderRepository(), fileSet, parameters ); }