Class ClasspathOverrideSource.Builder

All Implemented Interfaces:
Builder<ClasspathOverrideSource.Builder,ClasspathOverrideSource>, Source.Builder<ClasspathOverrideSource.Builder>, Supplier<ClasspathOverrideSource>
Enclosing class:
ClasspathOverrideSource

public static final class ClasspathOverrideSource.Builder extends AbstractSourceBuilder<ClasspathOverrideSource.Builder,Void> implements Builder<ClasspathOverrideSource.Builder,ClasspathOverrideSource>
Classpath OverrideSource Builder.

It allows to configure following properties:

  • resource - override resource name;
  • mandatory - is existence of override resource mandatory (by default) or is optional?

If the OverrideSource is mandatory and the resource does not exist then OverrideSource.load() throws ConfigException.