org.thewonderlemming.c4plantuml.graphml.model

## Interface WithC4Level<T>

- Type Parameters:
    `T` - the type of the result of the function.
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface WithC4Level<T>

  A basic Java `Function` to create fluent builders such as `GraphMLModel.builder()`.
  Author:
    thewonderlemming

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default T` | `withC4L1Level()` A semantic call to pass a `SourceType.C4_L1` value to the current function.
    `default T` | `withC4L2Level()` A semantic call to pass a `SourceType.C4_L2` value to the current function.
    `default T` | `withC4L3Level()` A semantic call to pass a `SourceType.C4_L3` value to the current function.
    `T` | `withC4Level(String level)` Takes a `String`, processes it and returns a results of type T.

- - ### Method Detail

    - #### withC4L1Level

          default T withC4L1Level()

      A semantic call to pass a `SourceType.C4_L1` value to the current function.
      Returns:
        the results of the function.

    - #### withC4L2Level

          default T withC4L2Level()

      A semantic call to pass a `SourceType.C4_L2` value to the current function.
      Returns:
        the results of the function.

    - #### withC4L3Level

          default T withC4L3Level()

      A semantic call to pass a `SourceType.C4_L3` value to the current function.
      Returns:
        the results of the function.

    - #### withC4Level

          T withC4Level(String level)

      Takes a `String`, processes it and returns a results of type T.
      Parameters:
        `level` - the parameter given to the function.
      Returns:
        the results of the function.

Copyright © 2020. All rights reserved.