Class ExecutionPlan.Builder

  • Enclosing class:
    ExecutionPlan

    public static final class ExecutionPlan.Builder
    extends java.lang.Object
    Builds instances of type ExecutionPlan.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setChildren​(java.lang.Iterable<StructuralElement> elements)
      Adds elements to children.
      void setId​(java.lang.Integer id)
      Initializes the value for the id attribute.
      void setJavaClass​(java.lang.Class<?> javaClass)
      Initializes the value for the javaClass attribute.
      • Methods inherited from class java.lang.Object

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

      • setJavaClass

        public void setJavaClass​(java.lang.Class<?> javaClass)
        Initializes the value for the javaClass attribute.
        Parameters:
        javaClass - The value for javaClass
      • setId

        public void setId​(java.lang.Integer id)
        Initializes the value for the id attribute.
        Parameters:
        id - The value for id
      • setChildren

        public void setChildren​(java.lang.Iterable<StructuralElement> elements)
        Adds elements to children.
        Parameters:
        elements - An iterable of children elements