Package com.zendesk.connect
Class EventFactory
- java.lang.Object
-
- com.zendesk.connect.EventFactory
-
public class EventFactory extends java.lang.ObjectSimple factory methods for quickly creatingEventobjects
-
-
Constructor Summary
Constructors Constructor and Description EventFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static EventcreateEvent(java.lang.String eventName)Create an event with no propertiesstatic EventcreateEvent(java.lang.String eventName, java.util.Map<java.lang.String,java.lang.Object> properties)Create an event with properties
-
-
-
Method Detail
-
createEvent
public static Event createEvent(java.lang.String eventName, java.util.Map<java.lang.String,java.lang.Object> properties)
Create an event with properties- Parameters:
eventName- the name of the eventproperties- the properties of the event- Returns:
- a constructed
Eventobject
-
-