/** * @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); }
/** * @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); }
/** * @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); }
@Exported public WorkspaceUpdater getWorkspaceUpdater() { if (workspaceUpdater != null) { return workspaceUpdater; } // data must have been read from old configuration. if (useUpdate != null && !useUpdate.booleanValue()) { return new CheckoutUpdater(); } if (doRevert != null && doRevert.booleanValue()) { return new UpdateWithRevertUpdater(); } return new UpdateUpdater(); }
@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(); }
@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(); }