Interface ImportInfo
public interface ImportInfo
ImportInfo...-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe detailed information about an imported pathstatic enumThe modification type -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the info atpathgetInfos()Returns the import informationReturns a list of memberships that need to be resolvedReturns the modifications of all infosDeprecated.since 3.1 usegetInfos()to retrieve information about namesReturns a collection of UUIDs of the nodes that need to be versioned.merge(ImportInfo info) Merges an import info into this one.intreturns the number of errorsintreturns the number of non-NOP entries.voidMarks that the node atpathwas created.voidMarks that the node atpathwas deleted.voidMarks that the node atpathcaused an error.voidDeprecated.Is no longer issued, as this depends on the registered node type definitionsvoidonModified(String path) Marks that the node atpathwas modified.voidMarks that nothing changed atpathvoidonReplaced(String path) Marks that the node atpathwas replaced.default voidMarks that the child node atpathwas moved due to stashing.
-
Method Details
-
getNameList
Deprecated.since 3.1 usegetInfos()to retrieve information about names- Returns:
- the name list
-
onModified
Marks that the node atpathwas modified.- Parameters:
path- the path
-
onNop
Marks that nothing changed atpath- Parameters:
path- the path
-
onCreated
Marks that the node atpathwas created.- Parameters:
path- the path
-
onStashed
Marks that the child node atpathwas moved due to stashing.- Parameters:
path- the path- Since:
- 3.7.0
-
onDeleted
Marks that the node atpathwas deleted.- Parameters:
path- the path
-
onReplaced
Marks that the node atpathwas replaced.- Parameters:
path- the path
-
onMissing
Deprecated.Is no longer issued, as this depends on the registered node type definitionsMarks that the node atpathis missing.- Parameters:
path- the path
-
onError
Marks that the node atpathcaused an error.- Parameters:
path- the pathe- exception
-
getInfos
TreeMap<String,ImportInfo.Info> getInfos()Returns the import information- Returns:
- the import information
- Since:
- 3.1
-
getInfo
Returns the info atpath- Parameters:
path- path- Returns:
- the info or
null - Since:
- 3.1
-
getModifications
TreeMap<String,ImportInfo.Type> getModifications()Returns the modifications of all infos- Returns:
- the modifications
-
getError
Deprecated.since 3.1 usegetInfo(String).getError()- Parameters:
path- the path- Returns:
- the error exception
-
getToVersion
Collection<String> getToVersion()Returns a collection of UUIDs of the nodes that need to be versioned.- Returns:
- a collection of UUIDs.
-
getMemberships
Returns a list of memberships that need to be resolved- Returns:
- a list of memberships
-
merge
Merges an import info into this one.- Parameters:
info- the other info- Returns:
- a new, merged info.
-
numModified
int numModified()returns the number of non-NOP entries.- Returns:
- the number of modified entries.
-
numErrors
int numErrors()returns the number of errors- Returns:
- the number of errors
-
getInfo(String).getError()