Interface DynamicDiscardPolicy

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface DynamicDiscardPolicy
    Author:
    Kabir Khan
    • Method Detail

      • checkResource

        DiscardPolicy checkResource​(TransformationContext context,
                                    PathAddress address)
        Checks whether the child should be added
        Parameters:
        context - the transformation context
        address - the address of the child
        Returns:
        the discard policy for how the resource should be handled