public class MavenConfigFacade extends Object implements Config
Config interface (otherwise, to have
access to the MOJO's parameters, this class should have been an inner-class of GenerateSchemaMojo, which
isn't allowed for a service-provider).
Parameters which are injected to the MOJO are stored in GenerateSchemaMojo as a static field and later
been wrapped by this facade.
config, configs, DEFAULT_UNWRAP_EXCEPTIONS, ERROR_EXTENSION_ALL_KNOWN, ERROR_EXTENSION_CLASSIFICATION, ERROR_EXTENSION_CODE, ERROR_EXTENSION_DESCRIPTION, ERROR_EXTENSION_EXCEPTION, ERROR_EXTENSION_QUERY_PATH, ERROR_EXTENSION_VALIDATION_ERROR_TYPE, FIELD_VISIBILITY_DEFAULT, FIELD_VISIBILITY_NO_INTROSPECTION, LOG, SERVER_ERROR_DEFAULT_MESSAGE| Constructor and Description |
|---|
MavenConfigFacade()
No-args constructor to be used by a
ServiceLoader. |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
boolean |
isIncludeDirectivesInSchema() |
boolean |
isIncludeIntrospectionTypesInSchema() |
boolean |
isIncludeScalarsInSchema() |
boolean |
isIncludeSchemaDefinitionInSchema() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getConfigValue, getDefaultErrorMessage, getErrorExtensionFields, getFieldVisibility, getHideErrorMessageList, getShowErrorMessageList, getUnwrapExceptions, init, isAllowGet, isAllowPostWithQueryParameters, isEventsEnabled, isListed, isListed, isMetricsEnabled, isPrintDataFetcherException, isTracingEnabled, isValidationEnabled, logPayload, shouldEmitEvents, shouldHide, shouldShow, shouldUnwrapThrowablepublic MavenConfigFacade()
ServiceLoader.public boolean isIncludeScalarsInSchema()
isIncludeScalarsInSchema in interface Configpublic boolean isIncludeDirectivesInSchema()
isIncludeDirectivesInSchema in interface Configpublic boolean isIncludeSchemaDefinitionInSchema()
isIncludeSchemaDefinitionInSchema in interface Configpublic boolean isIncludeIntrospectionTypesInSchema()
isIncludeIntrospectionTypesInSchema in interface ConfigCopyright © 2018–2022. All rights reserved.