sirius.kernel.AutoSetupRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sirius-kernel Show documentation
Show all versions of sirius-kernel Show documentation
Provides common core classes and the microkernel powering all Sirius applications
/*
* Made with all the love in the world
* by scireum in Remshalden, Germany
*
* Copyright by scireum GmbH
* http://www.scireum.de - [email protected]
*/
package sirius.kernel;
import sirius.kernel.di.std.Priorized;
/**
* Represents a rule which is executed during system statup if auto setup is enabled ({@link AutoSetup#isEnabled()}).
*/
public interface AutoSetupRule extends Priorized {
/**
* Executes the rule, e.g. by filling or initializing a database.
*
* @throws Exception in case of an error during setup
*/
void setup() throws Exception;
}