Class LinkSelectionStrategies

    • Method Detail

      • byRelationAndIndex

        public static LinkSelectionStrategy byRelationAndIndex​(String relation,
                                                               int index)
        Parameters:
        relation - too look for
        index - to pick
        Returns:
        a strategy that picks the link with the given relation and index
      • byRelationAndName

        public static LinkSelectionStrategy byRelationAndName​(String relation,
                                                              String name)
        Parameters:
        relation - too look for
        name - of the link to pick
        Returns:
        a strategy that picks the first link with the given relation and name