Class CreateMutationOptions

All Implemented Interfaces:
Options, Validatable

public class CreateMutationOptions extends AbstractGraphQLOptions
Provides options for the generation of New Mutations
  • Constructor Details

    • CreateMutationOptions

      public CreateMutationOptions()
  • Method Details

    • validate

      public Validation validate()
      Description copied from class: AbstractGeneratorSubOptions
      Checks if the current options are valid, return a list of errors if the options are not valid
      Specified by:
      validate in interface Validatable
      Overrides:
      validate in class AbstractGraphQLOptions
      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

      public void override(CreateMutationOptions overrideOptions)
      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:
      true if the mutation accepts multiple object, false is the mutation accepts just one object