/** * @deprecated as of 1.23 */ public SubversionSCM(List<ModuleLocation> locations, boolean useUpdate, boolean doRevert, SubversionRepositoryBrowser browser, String excludedRegions, String excludedUsers, String excludedRevprop, String excludedCommitMessages, String includedRegions) { this(locations, useUpdate ? (doRevert ? new UpdateWithRevertUpdater() : new UpdateUpdater()) : new CheckoutUpdater(), browser, excludedRegions, excludedUsers, excludedRevprop, excludedCommitMessages, includedRegions); }
/** * Delegates the execution to another updater. This is most often useful to fall back to the fresh check out * by using {@link CheckoutUpdater}. */ protected final List<External> delegateTo(WorkspaceUpdater wu) throws IOException, InterruptedException { return delegateTo(wu.createTask()); }
protected List<External> delegateTo(UpdateTask t) throws IOException, InterruptedException { t.manager = this.manager; t.authProvider = this.authProvider; t.queueTime = this.queueTime; t.buildTime = this.buildTime; t.listener = this.listener; t.locations = this.locations; t.revisionParameterAction = this.revisionParameterAction; t.ws = this.ws; t.revisionPolicy = this.revisionPolicy; return t.perform(); }
@Override public String getDisplayName() { return Messages.UpdateUpdater_DisplayName(); } }
@Override public String getDisplayName() { return Messages.CheckoutUpdater_DisplayName(); } }
@Override public String getDisplayName() { return Messages.UpdateWithRevertUpdater_DisplayName(); } }
@Override public String getDisplayName() { return Messages.UpdateWithCleanUpdater_DisplayName(); } }
/** * Creates update task. * * @return {@link UpdateTask} */ public UpdateTask createTask() { return new UpdateTaskImpl(); }
/** * Returns the pure URL portion of {@link #remote} by removing * possible "@NNN" suffix. */ public String getURL() { return SvnHelper.getUrlWithoutRevision(remote); }
/** * @deprecated as of 1.23 */ public SubversionSCM(List<ModuleLocation> locations, boolean useUpdate, boolean doRevert, SubversionRepositoryBrowser browser, String excludedRegions, String excludedUsers, String excludedRevprop, String excludedCommitMessages, String includedRegions) { this(locations, useUpdate?(doRevert?new UpdateWithRevertUpdater():new UpdateUpdater()):new CheckoutUpdater(), browser, excludedRegions, excludedUsers, excludedRevprop, excludedCommitMessages, includedRegions); }
/** * Delegates the execution to another updater. This is most often useful to fall back to the fresh check out * by using {@link CheckoutUpdater}. */ protected final List<External> delegateTo(WorkspaceUpdater wu) throws IOException, InterruptedException { return delegateTo(wu.createTask()); }
@Override public String getDisplayName() { return Messages.UpdateUpdater_DisplayName(); } }
@Override public String getDisplayName() { return Messages.CheckoutUpdater_DisplayName(); } }
protected List<External> delegateTo(UpdateTask t) throws IOException, InterruptedException { t.manager = this.manager; t.authProvider = this.authProvider; t.queueTime = this.queueTime; t.buildTime = this.buildTime; t.listener = this.listener; t.locations = this.locations; t.revisionParameterAction = this.revisionParameterAction; t.ws = this.ws; t.revisionPolicy = this.revisionPolicy; return t.perform(); }
/** * Creates update task. * * @return {@link UpdateTask} */ public UpdateTask createTask() { return new UpdateTaskImpl(); }
/** * @deprecated as of 1.23 */ public SubversionSCM(List<ModuleLocation> locations, boolean useUpdate, boolean doRevert, SubversionRepositoryBrowser browser, String excludedRegions, String excludedUsers, String excludedRevprop, String excludedCommitMessages, String includedRegions) { this(locations, useUpdate ? (doRevert ? new UpdateWithRevertUpdater() : new UpdateUpdater()) : new CheckoutUpdater(), browser, excludedRegions, excludedUsers, excludedRevprop, excludedCommitMessages, includedRegions); }
/** * Delegates the execution to another updater. This is most often useful to fall back to the fresh check out * by using {@link CheckoutUpdater}. */ protected final List<External> delegateTo(WorkspaceUpdater wu) throws IOException, InterruptedException { return delegateTo(wu.createTask()); }
@Override public String getDisplayName() { return Messages.UpdateUpdater_DisplayName(); } }
@Override public String getDisplayName() { return Messages.CheckoutUpdater_DisplayName(); } }
@Exported public WorkspaceUpdater getWorkspaceUpdater() { if (workspaceUpdater!=null) return workspaceUpdater; // data must have been read from old configuration. if (useUpdate!=null && !useUpdate) return new CheckoutUpdater(); if (doRevert!=null && doRevert) return new UpdateWithRevertUpdater(); return new UpdateUpdater(); }