Java Runtime 3.0.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
com.schemarise.alfa.runtime.BuilderConfig Class Reference

Inherits com.schemarise.alfa.runtime.IBuilderConfig.

Public Member Functions

 BuilderConfig (RuntimeContext runtimeContext, Map< String, ServiceFactory > serviceFactories, boolean shouldValidateOnBuild, boolean assertMandatoryFieldsSet, boolean shouldCloneCollectionsOnBuild, boolean skipUnknownFields, Optional< IBuilderFactory > builderFactory, boolean verbose, IValidationListener assertListener, Set< String > excludeAsserts)
 
boolean shouldValidateOnBuild ()
 
boolean shouldSkipAssert (String n)
 
boolean assertMandatoryFieldsSet ()
 
Set< String > getExcludeAsserts ()
 
boolean shouldCloneCollectionsOnBuild ()
 
boolean isSkipUnknownFields ()
 
String getMetaFieldPrefix ()
 
Optional< IBuilderFactorygetCustomBuilderFactory ()
 
boolean isVerbose ()
 
IValidationListener getAssertListener ()
 
RuntimeContext getRuntimeContext ()
 

Static Public Member Functions

static IBuilderConfig getInstance ()
 
static BuilderConfigBuilder newBuilder ()
 
static BuilderConfigBuilder builder ()
 

Detailed Description

Alfa runtime Builder configuration settings that control behaviour of the build method

Member Function Documentation

◆ getInstance()

static IBuilderConfig com.schemarise.alfa.runtime.BuilderConfig.getInstance ( )
inlinestatic

Get the default configuration instance

Returns
A Builder configuration

◆ getRuntimeContext()

RuntimeContext com.schemarise.alfa.runtime.BuilderConfig.getRuntimeContext ( )
inline

Get the runtime context assigned for this configuration

Returns
A runtime context object

◆ newBuilder()

static BuilderConfigBuilder com.schemarise.alfa.runtime.BuilderConfig.newBuilder ( )
inlinestatic

Get a builder to construct a BuilderConfig

Returns

The documentation for this class was generated from the following file: