Interface OwnerSource
-
- All Known Implementing Classes:
CrowdOwnerSource,PlaintextOwnerSource
public interface OwnerSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceOwnerSource.Autocompletionstatic classOwnerSource.OwnerNotFound
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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)default booleanisDeprecated()java.lang.Stringname()
-
-
-
Method Detail
-
name
java.lang.String name()
-
exists
boolean exists(java.lang.String ownerId)
-
get
pl.allegro.tech.hermes.api.Owner get(java.lang.String id) throws OwnerSource.OwnerNotFound- Throws:
OwnerSource.OwnerNotFound
-
isDeprecated
default boolean isDeprecated()
-
autocompletion
default java.util.Optional<OwnerSource.Autocompletion> autocompletion()
Override if the implemented owner source supports autocompletion.
-
-