saker.build Documentation TaskDoc JavaDoc
public static final class DatabaseConfiguration.Builder
Builder class for DatabaseConfiguration.

The builder is single use, it cannot be reused after callig build().

Methods
public Builder
add(RootFileProviderKey provider, WildcardPath wildcard, ContentDescriptorSupplier descriptorsupplier)
Adds the specified wildcard pattern and associated content descriptor supplier for the given provider key.
public DatabaseConfiguration
public Builder add(RootFileProviderKey provider, WildcardPath wildcard, ContentDescriptorSupplier descriptorsupplier) throws NullPointerException
Adds the specified wildcard pattern and associated content descriptor supplier for the given provider key.
providerThe file provider to associated the wildcard and content descriptor supplier with.
wildcardThe wildcard.
descriptorsupplierThe content descriptor supplier.
this
NullPointerExceptionIf any of the arguments are null.
Builds the DatabaseConfiguration.

The builder is no longer useable if this call succeeds.

The constructed database configuration.