Class TestBuilderProxy


  • public class TestBuilderProxy
    extends java.lang.Object
    A proxy to call TestBuilder functions dynamically. If TestBuilder is not present, functions act as a no-op.

    This class is somewhat experimental at the moment, so is not recommended for production use.

    Author:
    Martin Davis
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isActive()
      Tests whether the proxy is active (i.e.
      static void showIndicator​(Geometry geom)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestBuilderProxy

        public TestBuilderProxy()
    • Method Detail

      • isActive

        public static boolean isActive()
        Tests whether the proxy is active (i.e. the TestBuilder is available). This allows avoiding expensive geometry materialization if not needed.
        Returns:
        true if the proxy is active
      • showIndicator

        public static void showIndicator​(Geometry geom)