package saker.build.runtime.params
Builder class for DatabaseConfiguration.
The builder is single use, it cannot be reused after callig build().
public Builder | add( Adds the specified wildcard pattern and associated content descriptor supplier for the given provider key. |
public DatabaseConfiguration | build() Builds the 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.