Class EventDataFetcher
java.lang.Object
org.opencastproject.graphql.datafetcher.event.EventDataFetcher
- All Implemented Interfaces:
graphql.schema.DataFetcher<GqlEvent>,ContextDataFetcher<GqlEvent>
The EventDataFetcher class implements the ContextDataFetcher interface with GqlEvent as the generic type.
This class is used to fetch event data in a GraphQL context.
If the requested event is not found, a null value is returned.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(OpencastContext opencastContext, graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencastproject.graphql.datafetcher.ContextDataFetcher
get
-
Constructor Details
-
EventDataFetcher
-
-
Method Details
-
get
public GqlEvent get(OpencastContext opencastContext, graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) - Specified by:
getin interfaceContextDataFetcher<GqlEvent>
-