Class ConfigurationBuilder
java.lang.Object
org.apache.creadur.whisker.app.ConfigurationBuilder
Builds configurations fluently.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationBuilderCreates a new builder.build()Builds a configuration.Set source URLs in license to false when the configuration is built.with(LicenseConfiguration licenseConfiguration) Adjusts the configuration.Set source URLs in license to true when the configuration is built.
-
Method Details
-
aConfiguration
-
build
-
withSourceURLsInLicense
Set source URLs in license to true when the configuration is built.- Returns:
- this, not null
-
noSourceURLsInLicense
Set source URLs in license to false when the configuration is built.- Returns:
- this, not null
-
with
Adjusts the configuration.- Parameters:
licenseConfiguration- not null- Returns:
- this builder, not null
-