Interface Config


  • public interface Config
    This will load the config service Example, using microprofile config
    Author:
    Phillip Kruger ([email protected])
    • Method Detail

      • getDefaultErrorMessage

        default String getDefaultErrorMessage()
      • isPrintDataFetcherException

        default boolean isPrintDataFetcherException()
      • shouldHide

        default boolean shouldHide​(Throwable throwable)
      • shouldShow

        default boolean shouldShow​(Throwable throwable)
      • isListed

        default boolean isListed​(Class throwableClass,
                                 List<String> classNames)
      • shouldUnwrapThrowable

        default boolean shouldUnwrapThrowable​(Throwable t)
      • isAllowGet

        default boolean isAllowGet()
      • isAllowPostWithQueryParameters

        default boolean isAllowPostWithQueryParameters()
      • isIncludeScalarsInSchema

        default boolean isIncludeScalarsInSchema()
      • isIncludeDirectivesInSchema

        default boolean isIncludeDirectivesInSchema()
      • isIncludeSchemaDefinitionInSchema

        default boolean isIncludeSchemaDefinitionInSchema()
      • isIncludeIntrospectionTypesInSchema

        default boolean isIncludeIntrospectionTypesInSchema()
      • isTracingEnabled

        default boolean isTracingEnabled()
      • isMetricsEnabled

        default boolean isMetricsEnabled()
      • isValidationEnabled

        default boolean isValidationEnabled()
      • isEventsEnabled

        default boolean isEventsEnabled()
      • shouldEmitEvents

        default boolean shouldEmitEvents()
      • isParserCaptureIgnoredChars

        default Optional<Boolean> isParserCaptureIgnoredChars()
      • isParserCaptureLineComments

        default Optional<Boolean> isParserCaptureLineComments()
      • isParserCaptureSourceLocation

        default Optional<Boolean> isParserCaptureSourceLocation()
      • getParserMaxWhitespaceTokens

        default Optional<Integer> getParserMaxWhitespaceTokens()
      • hasParserOptions

        default boolean hasParserOptions()
      • getQueryComplexityInstrumentation

        default Optional<Integer> getQueryComplexityInstrumentation()
      • getQueryDepthInstrumentation

        default Optional<Integer> getQueryDepthInstrumentation()
      • getFieldVisibility

        default String getFieldVisibility()
      • getConfigValue

        default <T> T getConfigValue​(String key,
                                     Class<T> type,
                                     T defaultValue)