public interface ImportInfo
ImportInfo
...Modifier and Type | Interface and Description |
---|---|
static interface |
ImportInfo.Info
The detailed information about an imported path
|
static class |
ImportInfo.Type
The modification type
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getError(java.lang.String path)
Deprecated.
since 3.1. use getInfo(path).getError();
|
ImportInfo.Info |
getInfo(java.lang.String path)
Returns the info at
path |
java.util.TreeMap<java.lang.String,ImportInfo.Info> |
getInfos()
Returns the import information
|
java.util.Map<java.lang.String,java.lang.String[]> |
getMemberships()
Returns a list of memberships that need to be resolved
|
java.util.TreeMap<java.lang.String,ImportInfo.Type> |
getModifications()
Returns the modifications of all infos
|
NodeNameList |
getNameList()
Deprecated.
since 3.1
|
java.util.Collection<java.lang.String> |
getToVersion()
Returns a collection of UUIDs of the nodes that need to be versioned.
|
ImportInfo |
merge(ImportInfo info)
Merges an import info into this one.
|
int |
numErrors()
returns the number of errors
|
int |
numModified()
returns the number of non-NOP entries.
|
void |
onCreated(java.lang.String path)
Marks that the node at
path was created. |
void |
onDeleted(java.lang.String path)
Marks that the node at
path was deleted. |
void |
onError(java.lang.String path,
java.lang.Exception e)
Marks that the node at
path caused an error. |
void |
onMissing(java.lang.String path)
Marks that the node at
path is missing. |
void |
onModified(java.lang.String path)
Marks that the node at
path was modified. |
void |
onNop(java.lang.String path)
Marks that nothing changed at
path |
void |
onReplaced(java.lang.String path)
Marks that the node at
path was replaced. |
@Deprecated NodeNameList getNameList()
void onModified(java.lang.String path)
path
was modified.path
- the pathvoid onNop(java.lang.String path)
path
path
- the pathvoid onCreated(java.lang.String path)
path
was created.path
- the pathvoid onDeleted(java.lang.String path)
path
was deleted.path
- the pathvoid onReplaced(java.lang.String path)
path
was replaced.path
- the pathvoid onMissing(java.lang.String path)
path
is missing.path
- the pathvoid onError(java.lang.String path, java.lang.Exception e)
path
caused an error.path
- the pathe
- exceptionjava.util.TreeMap<java.lang.String,ImportInfo.Info> getInfos()
ImportInfo.Info getInfo(java.lang.String path)
path
path
- pathnull
java.util.TreeMap<java.lang.String,ImportInfo.Type> getModifications()
@Deprecated java.lang.Exception getError(java.lang.String path)
path
- the pathjava.util.Collection<java.lang.String> getToVersion()
java.util.Map<java.lang.String,java.lang.String[]> getMemberships()
ImportInfo merge(ImportInfo info)
info
- the other infoint numModified()
int numErrors()
Copyright © 2010 - 2020 Adobe. All Rights Reserved