Class FilterBySubsystemsData


  • public class FilterBySubsystemsData
    extends Object
    The filter by subsystem data to store and load settings from file, memento etc.
    • Constructor Detail

      • FilterBySubsystemsData

        public FilterBySubsystemsData()
    • Method Detail

      • getAllProjects

        public Set<String> getAllProjects()
        Returns the set of all projects of which are the subsystem are taken.
        Returns:
        the set of all projects, never null
      • getCheckedProjects

        public Set<String> getCheckedProjects()
        Returns the set of checked projects of which are the subsystem are taken.
        Returns:
        the set of checked projects, never null
      • getIncludeNotIncludedInSubsystems

        public Set<String> getIncludeNotIncludedInSubsystems()
        Returns the set of projects for which 'IncludeNotIncludedInSubsystems' node is checked in the subsystems tree.
        Returns:
        the set of projects, never null
      • getCheckedSubsystems

        public Set<String> getCheckedSubsystems​(String project)
        Returns the set of checked subsystems in the subsystems tree for the given project.
        Parameters:
        project - the project to get checked subsystems for, cannot be null
        Returns:
        the subsystems from the given project for which the node is checked, never null
      • addCheckedSubsystems

        public void addCheckedSubsystems​(String projectName,
                                         Collection<String> subsystems)
        Marks the given collection of subsystems as checked in the subsystems tree for the given project.
        Parameters:
        project - the project to set checked subsystems for, cannot be null
        subsystems - the subsystems to be checked, never null
      • isIncludeObjectsFromSubordinateSubsystems

        public boolean isIncludeObjectsFromSubordinateSubsystems()
        Returns the value of the 'includeObjectsFromSubordinateSubsystems' flag.
        Returns:
        the value of the 'includeObjectsFromSubordinateSubsystems' flag
      • setIncludeObjectsFromSubordinateSubsystems

        public void setIncludeObjectsFromSubordinateSubsystems​(boolean includeObjectsFromSubordinateSubsystems)
        Sets the value of the 'includeObjectsFromSubordinateSubsystems' flag.
        Parameters:
        value - the 'includeObjectsFromSubordinateSubsystems' flag value
      • isIncludeObjectsFromParentSubsystems

        public boolean isIncludeObjectsFromParentSubsystems()
        Returns the value of the 'includeObjectsFromParentSubsystems' flag.
        Returns:
        the value of the 'includeObjectsFromParentSubsystems' flag
      • setIncludeObjectsFromParentSubsystems

        public void setIncludeObjectsFromParentSubsystems​(boolean includeObjectsFromParentSubsystems)
        Sets the value of the 'includeObjectsFromParentSubsystems' flag.
        Parameters:
        value - the 'includeObjectsFromParentSubsystems' flag value