Class UserVisibleRootQuery

    • Constructor Detail

      • UserVisibleRootQuery

        public UserVisibleRootQuery()
        Creates a new query that will match all installable units marked visible to the user.
    • Method Detail

      • isUserVisible

        public static boolean isUserVisible​(IInstallableUnit iu,
                                            IProfile profile)
        Test if the IInstallableUnit, in the context of a IProfile is visible to the user
        Parameters:
        iu - the element being tested.
        profile - the context in which the iu is tested
        Returns:
        true if the element is visible to the user.