All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sirius.kernel.AutoSetupRule Maven / Gradle / Ivy

Go to download

Provides common core classes and the microkernel powering all Sirius applications

There is a newer version: 12.9.1
Show newest version
/*
 * 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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy