JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
OPEN  Enhancement JPPF-492  -  Monitoring API: move collapsed state handling out of TopologyDriver class
Posted Feb 22, 2017 - updated Feb 23, 2017
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Enhancement
  • Status
     
    New
  • Assigned to
    Not assigned to anyone
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Management / Monitoring
  • Resolution
    Not determined
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 6.0
Issue description
The class TopologyDriver has these 2 methods to handle the collapsed state in a tree or graph representation:
public boolean isCollapsed() { ... }
public void setCollapsed(final boolean collapsed) { ... }
This is a mistake, as TopologyDriver is part of the model, whereas the collapsed state is part of the view. The collpased state should be moved to another part of the code, maybe in in own class.