Interface HalResourcePredicate


  • public interface HalResourcePredicate
    Predicate getting applied on a HAL resource.
    • Method Detail

      • getId

        String getId()
        Returns:
        Unique ID for the predicate
      • apply

        boolean apply​(HalPath halPath,
                      io.wcm.caravan.hal.resource.HalResource hal)
        Parameters:
        halPath - Path of relation names
        hal - Current HAL resource
        Returns:
        True if HAL resource satisfies the predicate