Class CDPVisibilityOnlyProvider
- java.lang.Object
-
- org.apache.unomi.graphql.providers.sample.CDPVisibilityOnlyProvider
-
- All Implemented Interfaces:
GraphQLFieldVisibilityProvider
,GraphQLProvider
public class CDPVisibilityOnlyProvider extends Object implements GraphQLFieldVisibilityProvider
Example graphql visibility provider It will block: - CDP_SegmentInput's view field as well as - .remove* fields at any depth level
-
-
Constructor Summary
Constructors Constructor Description CDPVisibilityOnlyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate(org.osgi.framework.BundleContext context)
void
deactivate()
graphql.schema.visibility.GraphqlFieldVisibility
getGraphQLFieldVisibility()
int
getPriority()
-
-
-
Method Detail
-
activate
public void activate(org.osgi.framework.BundleContext context)
-
deactivate
public void deactivate()
-
getGraphQLFieldVisibility
public graphql.schema.visibility.GraphqlFieldVisibility getGraphQLFieldVisibility()
- Specified by:
getGraphQLFieldVisibility
in interfaceGraphQLFieldVisibilityProvider
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceGraphQLFieldVisibilityProvider
-
-