Package com.enonic.xp.portal.macro

## Class MacroContext.Builder

- java.lang.Object
- - com.enonic.xp.portal.macro.MacroContext.Builder

- Enclosing class:
    MacroContext

      public static class MacroContext.Builder
      extends Object

- - ### Constructor Summary

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

  - ### Method Summary

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

    - ### 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 MacroContext.Builder name​(String name)

    - #### body

          public MacroContext.Builder body​(String body)

    - #### param

          public MacroContext.Builder param​(String name,
                                            String value)

    - #### request

          public MacroContext.Builder request​(PortalRequest request)

    - #### document

          public MacroContext.Builder document​(String document)

    - #### build

          public MacroContext build()