public abstract class ConditionModelBuilderBase extends ArgumentDirectiveModelBuilderBase<ConditionModel>
| Modifier and Type | Field and Description |
|---|---|
protected io.stargate.graphql.schema.graphqlfirst.processor.ProcessingContext |
context |
protected graphql.language.SourceLocation |
location |
argument, directive, entities, entity, field, operationName| Modifier | Constructor and Description |
|---|---|
protected |
ConditionModelBuilderBase(graphql.language.InputValueDefinition argument,
Optional<graphql.language.Directive> directive,
EntityModel entity,
FieldModel field,
String operationName,
Map<String,EntityModel> entities,
io.stargate.graphql.schema.graphqlfirst.processor.ProcessingContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected ConditionModel |
build() |
protected void |
checkArgumentIsListOf(FieldModel field) |
protected void |
checkArgumentIsSameAs(FieldModel field) |
protected void |
info(String format,
Object... arguments) |
void |
invalidMapping(String format,
Object... arguments) |
protected void |
invalidSyntax(String format,
Object... arguments) |
protected abstract void |
validate(FieldModel field,
Predicate predicate) |
protected void |
warn(String format,
Object... arguments) |
fieldInputTypeprotected final io.stargate.graphql.schema.graphqlfirst.processor.ProcessingContext context
protected final graphql.language.SourceLocation location
protected ConditionModelBuilderBase(graphql.language.InputValueDefinition argument,
Optional<graphql.language.Directive> directive,
EntityModel entity,
FieldModel field,
String operationName,
Map<String,EntityModel> entities,
io.stargate.graphql.schema.graphqlfirst.processor.ProcessingContext context)
protected abstract void validate(FieldModel field, Predicate predicate) throws io.stargate.graphql.schema.graphqlfirst.processor.SkipException
io.stargate.graphql.schema.graphqlfirst.processor.SkipExceptionprotected ConditionModel build() throws io.stargate.graphql.schema.graphqlfirst.processor.SkipException
io.stargate.graphql.schema.graphqlfirst.processor.SkipExceptionprotected void checkArgumentIsSameAs(FieldModel field) throws io.stargate.graphql.schema.graphqlfirst.processor.SkipException
io.stargate.graphql.schema.graphqlfirst.processor.SkipExceptionprotected void checkArgumentIsListOf(FieldModel field) throws io.stargate.graphql.schema.graphqlfirst.processor.SkipException
io.stargate.graphql.schema.graphqlfirst.processor.SkipExceptionCopyright © 2022. All rights reserved.