Class ElementPolicy.Util

  • Enclosing interface:
    ElementPolicy

    public static final class ElementPolicy.Util
    extends java.lang.Object
    Utilities for working with element policies.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ElementPolicy join​(ElementPolicy... policies)
      Given zero or more element policies, returns an element policy equivalent to applying them in order failing early if any of them fails.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • join

        public static final ElementPolicy join​(ElementPolicy... policies)
        Given zero or more element policies, returns an element policy equivalent to applying them in order failing early if any of them fails.