Package com.enonic.xp.event
Class Event.Builder
- java.lang.Object
-
- com.enonic.xp.event.Event.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Eventbuild()Event.Builderdistributed(boolean flag)Event.BuilderlocalOrigin(boolean local)Event.Buildertimestamp(long timestamp)Event.Buildervalue(String key, Object value)
-
-
-
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()
-
-