Interface VltEntries
public interface VltEntries
The vault entries provide meta information about the entries under vault control.
Note that entries are managed by their respective
MetaDirectory and updates to this
entries are only persisted if the directory is synced or closed.-
Method Summary
Modifier and TypeMethodDescriptionentries()Returns all entries.Returns the vault entry for the given namegetPath()Returns the platform path of this entries relative to the vault root.booleanChecks if the entry with the given name existsUpdates the paths properties of the entry withlocalName.voidUpdates the entry with the state contained in the vault file.
-
Method Details
-
getPath
String getPath()Returns the platform path of this entries relative to the vault root.- Returns:
- the platform path
-
hasEntry
Checks if the entry with the given name exists- Parameters:
localName- name of the entry- Returns:
trueif exists
-
getEntry
Returns the vault entry for the given name- Parameters:
localName- the name of the entry- Returns:
- the entry or
nullif not exists.
-
update
Updates the entry with the state contained in the vault file.- Parameters:
file- the vault file.
-
update
Updates the paths properties of the entry withlocalName. If the entry did not exist yet, a new one is created.- Parameters:
localName- the name of the entryaggregatePath- the new aggregate pathrepoRelPath- the new repository path- Returns:
- the entry that was updated.
-
entries
Collection<VltEntry> entries()Returns all entries.- Returns:
- the entries
-