All Superinterfaces:
Node
All Known Subinterfaces:
AlarmEvaluator

public interface BrowsableNode extends Node
Since:
8.0
  • Method Details

    • hasChildren

      boolean hasChildren()
    • getChildNode

      Node getChildNode(String name)
    • getPropertyNode

      Node getPropertyNode(@Nullable Property<?> property)
      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

      default Results<NodeDescription> browse(BrowseFilter filter)
    • browse

      default Results<NodeDescription> browse(BrowseFilter filter, SecurityContext securityContext)
    • 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 - the SecurityContext in which this browse is made