Package com.enonic.xp.event

## Class Event.Builder

- java.lang.Object
- - com.enonic.xp.event.Event.Builder

- Enclosing class:
    Event

      public static final class Event.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Event` | `build()` |
    `Event.Builder` | `distributed​(boolean flag)` |
    `Event.Builder` | `localOrigin​(boolean local)` |
    `Event.Builder` | `timestamp​(long timestamp)` |
    `Event.Builder` | `value​(String key, Object value)` |

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

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

- - ### Method Detail

    - #### distributed

          public Event.Builder distributed​(boolean flag)

    - #### value

          public Event.Builder value​(String key,
                                     Object value)

    - #### timestamp

          public Event.Builder timestamp​(long timestamp)

    - #### localOrigin

          public Event.Builder localOrigin​(boolean local)

    - #### build

          public Event build()