Class MyEventInput
- java.lang.Object
-
- org.apache.unomi.graphql.providers.sample.MyEventInput
-
- All Implemented Interfaces:
CDPEventProcessor
public class MyEventInput extends Object implements CDPEventProcessor
-
-
Constructor Summary
Constructors Constructor Description MyEventInput(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event
buildEvent(LinkedHashMap<String,Object> eventInputAsMap, graphql.schema.DataFetchingEnvironment environment)
String
getFieldName()
String
getName()
-
-
-
Field Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MyEventInput
public MyEventInput(String name)
-
-
Method Detail
-
getName
public String getName()
-
buildEvent
public Event buildEvent(LinkedHashMap<String,Object> eventInputAsMap, graphql.schema.DataFetchingEnvironment environment)
- Specified by:
buildEvent
in interfaceCDPEventProcessor
-
getFieldName
public String getFieldName()
- Specified by:
getFieldName
in interfaceCDPEventProcessor
-
-