Class IntegrationPointComparator

    • Constructor Detail

      • IntegrationPointComparator

        protected IntegrationPointComparator()

        Protected constructor. Use getInstance() instead.

    • Method Detail

      • compare

        public int compare​(org.glassfish.admingui.connector.IntegrationPoint ip1,
                           org.glassfish.admingui.connector.IntegrationPoint ip2)

        This method compares two IntegrationPoints. It will first check the parentId, then the priority if the parentIds are equal. If the priorities happen to be equal as well, it will compare the ids.

        Specified by:
        compare in interface Comparator<org.glassfish.admingui.connector.IntegrationPoint>