public class CrowdOwnerSource extends java.lang.Object implements OwnerSource
OwnerSource.Autocompletion, OwnerSource.OwnerNotFound| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
CrowdOwnerSource(CrowdClient crowdClient) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<OwnerSource.Autocompletion> |
autocompletion()
Override if the implemented owner source supports autocompletion.
|
boolean |
exists(java.lang.String ownerId) |
pl.allegro.tech.hermes.api.Owner |
get(java.lang.String id) |
java.lang.String |
name() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDeprecatedpublic static final java.lang.String NAME
public CrowdOwnerSource(CrowdClient crowdClient)
public java.lang.String name()
name in interface OwnerSourcepublic boolean exists(java.lang.String ownerId)
exists in interface OwnerSourcepublic pl.allegro.tech.hermes.api.Owner get(java.lang.String id)
get in interface OwnerSourcepublic java.util.Optional<OwnerSource.Autocompletion> autocompletion()
OwnerSourceautocompletion in interface OwnerSource