Class DslHelper


public class DslHelper extends Object

Provides some convenience methods to assist generating pipeline DSL code.

  • Constructor Details

    • DslHelper

      public DslHelper()
  • Method Details

    • asStructMembers

      public static String asStructMembers(List<? extends> responses)

      Combines a list of expressions into a comma-separated struct declaration string, minus the {}s.

    • getAttributeType

      public static <T extends> Optional<T> getAttributeType( parent, String attributeName, Class<T> type)
      the Type of the specified attribute (if present) within the parent struct.