Class DeleteMutationOptions
java.lang.Object
org.brapi.schematools.core.options.AbstractGeneratorSubOptions
org.brapi.schematools.core.graphql.options.AbstractGraphQLOptions
org.brapi.schematools.core.graphql.options.DeleteMutationOptions
- All Implemented Interfaces:
Options,Validatable
Provides options for the generation of Delete Mutations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if the mutation accepts multiple object or just onevoidoverride(DeleteMutationOptions overrideOptions) Overrides the values in this Options Object from the provided Options Object if they are non-nullvalidate()Checks if the current options are valid, return a list of errors if the options are not validMethods inherited from class org.brapi.schematools.core.graphql.options.AbstractGraphQLOptions
getNameFor, getNameFor, isPluralisingName, overrideMethods inherited from class org.brapi.schematools.core.options.AbstractGeneratorSubOptions
getDescriptionFor, getDescriptionFor, isGenerating, isGeneratingFor, isGeneratingFor, override, setGenerateFor, setGenerateForMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.brapi.schematools.core.options.Options
getSchemaToolsVersion
-
Constructor Details
-
DeleteMutationOptions
public DeleteMutationOptions()
-
-
Method Details
-
validate
Description copied from class:AbstractGeneratorSubOptionsChecks if the current options are valid, return a list of errors if the options are not valid- Specified by:
validatein interfaceValidatable- Overrides:
validatein classAbstractGraphQLOptions- Returns:
- a Validation object than can be used queried to find if the options are valid and any errors if the options are not valid
-
override
Overrides the values in this Options Object from the provided Options Object if they are non-null- Parameters:
overrideOptions- the options which will be used to override this Options Object
-
isMultiple
public boolean isMultiple()Determines if the mutation accepts multiple object or just one- Returns:
trueif the mutation accepts multiple object,falseis the mutation accepts just one object
-