public class SystemTagManager extends java.lang.Object implements ClientSubManager
TagManagerBase.CollisionPolicy
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
SystemTagManager() |
Modifier and Type | Method and Description |
---|---|
void |
addSystemSubManager(java.lang.String name,
ClientSubManager manager) |
java.util.List<TagPath> |
addTags(TagPath parentFolder,
java.util.List<? extends Tag> tags) |
void |
addTags(TagPath parentFolder,
java.util.List<TagNode> tag,
TagManagerBase.CollisionPolicy collisionPolicy)
Adds the given tags into the parent folder.
|
java.util.List<Tag> |
browse(TagPath root)
Provides the tags located beneath the specified path.
|
protected TagPath |
chomp(TagPath path) |
void |
editTags(java.util.List<TagPath> paths,
TagDiff edit)
Applies the given TagDiff edit to the paths indicated
|
Tag |
getTag(TagPath path)
Returns the tag located at a specific path.
|
TagDiagnostics |
getTagDiagnostics(TagPath path)
Returns the current diagnostic information for a given path.
|
java.util.List<Tag> |
getTags(java.util.List<TagPath> paths) |
java.util.List<QualifiedValue> |
read(java.util.List<TagPath> paths)
Reads the values of the given tag paths.
|
void |
removeTags(java.util.List<TagPath> tagPaths)
Removes the tags at the given tag paths.
|
void |
shutdown() |
void |
startup() |
void |
subscribe(java.util.List<TagPath> paths,
java.util.List<TagChangeListener> listeners)
Subscribes to multiple paths at once, in order to be more efficient.
|
void |
subscribe(TagPath path,
TagChangeListener listener)
Subscribes to the given tag path/property.
|
void |
unsubscribe(java.util.List<TagPath> paths,
java.util.List<TagChangeListener> listeners)
Unsubscribes from multiple paths at once, in order to be more efficient.
|
void |
unsubscribe(TagPath path,
TagChangeListener listener)
Unsubscribes from the given tag path/property.
|
WriteOperation |
write(TagPath path,
java.lang.Object value) |
public static final java.lang.String NAME
public void removeTags(java.util.List<TagPath> tagPaths)
TagManagerBase
removeTags
in interface TagManagerBase
public java.util.List<TagPath> addTags(TagPath parentFolder, java.util.List<? extends Tag> tags)
public void editTags(java.util.List<TagPath> paths, TagDiff edit) throws java.lang.Exception
TagManagerBase
editTags
in interface TagManagerBase
java.lang.Exception
public Tag getTag(TagPath path)
TagCollection
getTag
in interface TagCollection
public java.util.List<Tag> getTags(java.util.List<TagPath> paths)
getTags
in interface ClientSubManager
public TagDiagnostics getTagDiagnostics(TagPath path)
TagManagerBase
getTagDiagnostics
in interface TagManagerBase
public WriteOperation write(TagPath path, java.lang.Object value)
write
in interface ClientSubManager
public void addTags(TagPath parentFolder, java.util.List<TagNode> tag, TagManagerBase.CollisionPolicy collisionPolicy) throws java.lang.Exception
TagManagerBase
addTags
in interface TagManagerBase
java.lang.Exception
public void addSystemSubManager(java.lang.String name, ClientSubManager manager)
public java.util.List<Tag> browse(TagPath root)
TagCollection
browse
in interface TagCollection
public java.util.List<QualifiedValue> read(java.util.List<TagPath> paths)
TagSubscriptionManager
read
in interface TagSubscriptionManager
public void subscribe(java.util.List<TagPath> paths, java.util.List<TagChangeListener> listeners)
TagSubscriptionManager
subscribe
in interface TagSubscriptionManager
public void unsubscribe(java.util.List<TagPath> paths, java.util.List<TagChangeListener> listeners)
TagSubscriptionManager
unsubscribe
in interface TagSubscriptionManager
public void subscribe(TagPath path, TagChangeListener listener)
TagSubscriptionManager
subscribe
in interface TagSubscriptionManager
public void unsubscribe(TagPath path, TagChangeListener listener)
TagSubscriptionManager
unsubscribe
in interface TagSubscriptionManager
public void shutdown()
shutdown
in interface ClientSubManager
public void startup()
startup
in interface ClientSubManager