Class DefaultVault

    • Constructor Detail

      • DefaultVault

        public DefaultVault()
      • DefaultVault

        public DefaultVault​(MVault parent)
    • Method Detail

      • registerSource

        public void registerSource​(VaultSource source)
        Description copied from interface: MVault
        Register a new source for VaultEntries
        Specified by:
        registerSource in interface MVault
      • unregisterSource

        public void unregisterSource​(String sourceName)
        Description copied from interface: MVault
        Unregister a registered source
        Specified by:
        unregisterSource in interface MVault
      • getSourceNames

        public String[] getSourceNames()
        Description copied from interface: MVault
        Return a list of registered sources
        Specified by:
        getSourceNames in interface MVault
        Returns:
        a list of names.
      • getSource

        public VaultSource getSource​(String name)
        Description copied from interface: MVault
        Return a single source or null if not found.
        Specified by:
        getSource in interface MVault
        Returns:
        the source or null.
      • getEntry

        public VaultEntry getEntry​(UUID id)
        Description copied from interface: MVault
        Return a entry by id or null if not found.
        Specified by:
        getEntry in interface MVault
        Returns:
        The entry or null.