protected class AbstractStoreBasedTagProvider.AddTagsTask extends java.lang.Object implements java.lang.Runnable, NameUtil.NameValidator
Constructor and Description |
---|
AddTagsTask(TagPath parentFolder,
java.util.List<TagNode> tags,
TagManagerBase.CollisionPolicy policy) |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException() |
boolean |
nameExists(java.lang.String value) |
protected void |
processNodes(TagPath curParent,
java.util.List<? extends TagNode> nodes,
java.util.List<TagNode> toAdd,
java.util.List<ExecutableTag> toRemove) |
protected void |
recursivelyAddFolders(TagPath bottom) |
void |
run() |
void |
setVerifyOnly(boolean value)
VerifyOnly is only used with the abort policy in order to pre-check that tags don't collide.
|
public AddTagsTask(TagPath parentFolder, java.util.List<TagNode> tags, TagManagerBase.CollisionPolicy policy)
public void setVerifyOnly(boolean value)
value
- public boolean nameExists(java.lang.String value)
nameExists
in interface NameUtil.NameValidator
public void run()
run
in interface java.lang.Runnable
protected void recursivelyAddFolders(TagPath bottom) throws java.lang.Exception
java.lang.Exception
public java.lang.Exception getException()
protected void processNodes(TagPath curParent, java.util.List<? extends TagNode> nodes, java.util.List<TagNode> toAdd, java.util.List<ExecutableTag> toRemove)