@Test public void testGetType() throws Exception { Set<String> names = new HashSet<String>(); LdapSyncRequest request = new LdapSyncRequest(LdapSyncSpecEntity.SyncType.SPECIFIC, names); Assert.assertEquals(LdapSyncSpecEntity.SyncType.SPECIFIC, request.getType()); request = new LdapSyncRequest(LdapSyncSpecEntity.SyncType.ALL); Assert.assertEquals(LdapSyncSpecEntity.SyncType.ALL, request.getType()); request = new LdapSyncRequest(LdapSyncSpecEntity.SyncType.EXISTING); Assert.assertEquals(LdapSyncSpecEntity.SyncType.EXISTING, request.getType()); }
public LdapSyncSpecEntity.SyncType getType() { return type; }
LdapSyncRequest { public LdapSyncSpecEntity.SyncType getType() { return type; } }
LdapSyncRequest { public LdapSyncSpecEntity.SyncType getType() { return type; } LdapSyncRequest(LdapSyncSpecEntity.SyncType type, Set<String> principalNames);  LdapSyncRequest(LdapSyncSpecEntity.SyncType type); }
LdapSyncRequest { public LdapSyncSpecEntity.SyncType getType() { return type; } LdapSyncRequest(LdapSyncSpecEntity.SyncType type, Set<String> principalNames);  LdapSyncRequest(LdapSyncSpecEntity.SyncType type); void addPrincipalNames(Set<String> principalNames); Set<String> getPrincipalNames(); LdapSyncSpecEntity.SyncType getType(); }
LdapSyncRequest { public LdapSyncSpecEntity.SyncType getType() { return type; } LdapSyncRequest(LdapSyncSpecEntity.SyncType type, Set<String> principalNames);  LdapSyncRequest(LdapSyncSpecEntity.SyncType type); void addPrincipalNames(Set<String> principalNames); Set<String> getPrincipalNames(); LdapSyncSpecEntity.SyncType getType();  }