ShelveFilesOptions extends Options { public ShelveFilesOptions setForceShelve(boolean forceShelve) { this.forceShelve = forceShelve; return this; } ShelveFilesOptions();  ShelveFilesOptions(String... options);  ShelveFilesOptions(final boolean forceShelve,
                            final boolean replaceFiles,
                            final boolean deleteFiles,
                            final boolean promotesShelvedChangeIfDistributedConfigured); List<String> processOptions(IServer server); boolean isForceShelve(); ShelveFilesOptions setForceShelve(boolean forceShelve); boolean isReplaceFiles(); ShelveFilesOptions setReplaceFiles(boolean replaceFiles); boolean isPromotesShelvedChangeIfDistributedConfigured(); ShelveFilesOptions setPromotesShelvedChangeIfDistributedConfigured(boolean promotesShelvedChangeIfDistributedConfigured); boolean isDeleteFiles(); ShelveFilesOptions setDeleteFiles(boolean deleteFiles); static final String OPTIONS_SPECS; }
@Test public void setForceShelve() throws Exception { ShelveFilesOptions opts = new ShelveFilesOptions(false, true, true, true); assertFalse(opts.forceShelve); assertFalse(opts.isForceShelve()); opts.setForceShelve(true); assertTrue(opts.forceShelve); assertTrue(opts.isForceShelve()); }