Class CrowdOwnerSource
- java.lang.Object
-
- pl.allegro.tech.hermes.management.domain.owner.CrowdOwnerSource
-
- All Implemented Interfaces:
OwnerSource
public class CrowdOwnerSource extends java.lang.Object implements OwnerSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface pl.allegro.tech.hermes.management.domain.owner.OwnerSource
OwnerSource.Autocompletion, OwnerSource.OwnerNotFound
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAME
-
Constructor Summary
Constructors Constructor Description CrowdOwnerSource(CrowdClient crowdClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<OwnerSource.Autocompletion>autocompletion()Override if the implemented owner source supports autocompletion.booleanexists(java.lang.String ownerId)pl.allegro.tech.hermes.api.Ownerget(java.lang.String id)java.lang.Stringname()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pl.allegro.tech.hermes.management.domain.owner.OwnerSource
isDeprecated
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CrowdOwnerSource
public CrowdOwnerSource(CrowdClient crowdClient)
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
namein interfaceOwnerSource
-
exists
public boolean exists(java.lang.String ownerId)
- Specified by:
existsin interfaceOwnerSource
-
get
public pl.allegro.tech.hermes.api.Owner get(java.lang.String id)
- Specified by:
getin interfaceOwnerSource
-
autocompletion
public java.util.Optional<OwnerSource.Autocompletion> autocompletion()
Description copied from interface:OwnerSourceOverride if the implemented owner source supports autocompletion.- Specified by:
autocompletionin interfaceOwnerSource
-
-