Package de.mhus.lib.core.vault
Interface VaultSource
-
- All Known Subinterfaces:
MutableVaultSource
- All Known Implementing Classes:
FileVaultSource,FolderVaultSource,MapMutableVaultSource
public interface VaultSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MutableVaultSourcegetEditable()Return a editable instance or null if not supportedVaultEntrygetEntry(UUID id)Return a entry by id or null if not found.Iterable<UUID>getEntryIds()Return a not editable list of current stored entry ids.StringgetName()Return a unique name of the source.
-
-
-
Method Detail
-
getEntry
VaultEntry getEntry(UUID id)
Return a entry by id or null if not found.- Parameters:
id-- Returns:
- The id or null
-
getEntryIds
Iterable<UUID> getEntryIds()
Return a not editable list of current stored entry ids.- Returns:
- a list of ids.
-
getName
String getName()
Return a unique name of the source.- Returns:
- the name
-
getEditable
MutableVaultSource getEditable()
Return a editable instance or null if not supported- Returns:
- editable vault source
-
-