Package com.enonic.xp.macro

## Class Macro.Builder

- java.lang.Object
- - com.enonic.xp.macro.Macro.Builder

- Enclosing class:
    Macro

      public static class Macro.Builder
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Builder()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Macro.Builder` | `body​(String body)` |
    `Macro` | `build()` |
    `Macro.Builder` | `name​(String name)` |
    `Macro.Builder` | `param​(String key, String value)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Builder

          public Builder()

  - ### Method Detail

    - #### name

          public Macro.Builder name​(String name)

    - #### body

          public Macro.Builder body​(String body)

    - #### param

          public Macro.Builder param​(String key,
                                     String value)

    - #### build

          public Macro build()