Interface VltEntry
public interface VltEntry
Represents an entry in
VltEntries-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbase()Returns the entry info of typeVltEntryInfo.Type.BASEvoidcreate(VltEntryInfo.Type type) Creates a new entry info for the given type.booleanReturns the aggregate path of this entry.getName()Returns the name of an entry.Returns the repository path of this entry.getState()Returns the state of this entry.booleanbooleanisDirty()mine()Returns the entry info of typeVltEntryInfo.Type.MINEvoidput(VltEntryInfo info) Puts and entry info to this entry.remove(VltEntryInfo.Type type) Removes the entry info with the given type.voidbooleanrevertConflict(File work) theirs()Returns the entry info of typeVltEntryInfo.Type.THEIRSwork()Returns the entry info of typeVltEntryInfo.Type.WORK
-
Method Details
-
getName
String getName()Returns the name of an entry.- Returns:
- the name.
-
getRepoRelPath
String getRepoRelPath()Returns the repository path of this entry.- Returns:
- the repository path.
-
getAggregatePath
String getAggregatePath()Returns the aggregate path of this entry.- Returns:
- the aggregate path.
-
create
Creates a new entry info for the given type.- Parameters:
type- info type.- Returns:
- the entry info
-
put
Puts and entry info to this entry.- Parameters:
info- the entry info
-
work
VltEntryInfo work()Returns the entry info of typeVltEntryInfo.Type.WORK- Returns:
- the "work" entry info or
nullif not defined.
-
base
VltEntryInfo base()Returns the entry info of typeVltEntryInfo.Type.BASE- Returns:
- the "base" entry info or
nullif not defined.
-
mine
VltEntryInfo mine()Returns the entry info of typeVltEntryInfo.Type.MINE- Returns:
- the "mine" entry info or
nullif not defined.
-
theirs
VltEntryInfo theirs()Returns the entry info of typeVltEntryInfo.Type.THEIRS- Returns:
- the "theirs" entry info or
nullif not defined.
-
remove
Removes the entry info with the given type.- Parameters:
type- the info type- Returns:
- the previously assigned info or
null
-
getState
VltEntry.State getState()Returns the state of this entry.- Returns:
- the vault state
-
resolved
- Throws:
IOException
-
delete
-
revertConflict
- Throws:
IOException
-
conflict
- Throws:
IOException
-
isDirty
boolean isDirty() -
isDirectory
boolean isDirectory()
-