org.sdase.commons.starter.builder.PlatformBundleBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sda-commons-starter Show documentation
Show all versions of sda-commons-starter Show documentation
A libraries to bootstrap services easily that follow the patterns and specifications promoted by the SDA SE
package org.sdase.commons.starter.builder;
import io.dropwizard.core.Configuration;
import io.dropwizard.core.setup.Bootstrap;
import org.sdase.commons.starter.SdaPlatformBundle;
/**
* The final builder that is able to configure all the optional settings.
*
* @param the type of the applications configuration class
*/
public interface PlatformBundleBuilder
extends CorsCustomizer, SecurityCustomizer, JacksonCustomizer {
/**
* Builds the configured {@link SdaPlatformBundle} which must be added to the {@link Bootstrap} in
* {@link io.dropwizard.core.Application#initialize(Bootstrap)}.
*
* @return the configured {@link SdaPlatformBundle}
*/
SdaPlatformBundle build();
}