Interface BrowsableNode
- All Superinterfaces:
Node
- All Known Subinterfaces:
AlarmEvaluator
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault Results<NodeDescription>
browse
(BrowseFilter filter) default Results<NodeDescription>
browse
(BrowseFilter filter, SecurityContext securityContext) default QualityCode
browse
(List<NodeDescription> results, BrowseFilter filter, int startingOffset, AtomicInteger currentOffset) browse
(List<NodeDescription> results, BrowseFilter filter, int startingOffset, AtomicInteger currentOffset, SecurityContext securityContext) Browses the sub nodes of this tag.The browse info of a tag node is a lighter weight version of the tag that is appropriate for browsing and discovery, but not actually configuration.getChildNode
(String name) getPropertyNode
(Property<?> property) Returns the node for the given property.boolean
Methods inherited from interface com.inductiveautomation.ignition.gateway.tags.evaluation.nodes.Node
read, setLeased, setSubscription, write
-
Method Details
-
hasChildren
boolean hasChildren() -
getChildNode
-
getPropertyNode
Returns the node for the given property. If the property parameter is null, the "default subscription" property should be returned.- Parameters:
property
- if null, it is a default subscription, usually returns "this".
-
getBrowseInfo
NodeDescription getBrowseInfo()The browse info of a tag node is a lighter weight version of the tag that is appropriate for browsing and discovery, but not actually configuration. -
browse
-
browse
-
browse
default QualityCode browse(List<NodeDescription> results, BrowseFilter filter, int startingOffset, AtomicInteger currentOffset) -
browse
QualityCode browse(List<NodeDescription> results, BrowseFilter filter, int startingOffset, AtomicInteger currentOffset, SecurityContext securityContext) Browses the sub nodes of this tag. Results should be added to the "results" list. If the operation cannot be completed for some reason, a non-good QualityCode can be returned to indicate why.It is up to each implementation how fully they support the browse filter.
- Parameters:
results
- List upon which to add results.filter
- the non-null filter. Will be BrowseFilter.None if no filter is specified.startingOffset
- the starting offset of the browse. This has been extracted from the filter continuation point, or the filter offset.currentOffset
- an atomic integer that should be set to the desired continuation point if the browse is stopped early due to Filter.getMaxResults. It starts as 0 here, so you can increment it until it gets past startingOffset as an easy way to skip the initial offset.securityContext
- theSecurityContext
in which this browse is made
-