Class EffectiveTraitQuery

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  EffectiveTraitQuery.Builder
      Builds a reusable EffectiveTraitQuery.
    • Method Summary

      Modifier and Type Method Description
      static EffectiveTraitQuery.Builder builder()
      Creates a new query builder.
      boolean isTraitApplied​(ToShapeId shapeId)
      Checks if the trait is effectively applied to a shape.
      EffectiveTraitQuery.Builder toBuilder()
      Take this object and create a builder that contains all of the current property values of this object.
      • Methods inherited from class java.lang.Object

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

      • isTraitApplied

        public boolean isTraitApplied​(ToShapeId shapeId)
        Checks if the trait is effectively applied to a shape.
        Parameters:
        shapeId - Shape to test.
        Returns:
        Returns true if the trait is effectively applied to the shape.