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

org.keycloak.models.ThemeManager Maven / Gradle / Ivy

There is a newer version: 25.0.5
Show newest version
package org.keycloak.models;

import org.keycloak.theme.Theme;

import java.io.IOException;
import java.util.Set;

public interface ThemeManager {

    /**
     * Returns the theme for the specified type. The theme is determined by the theme selector.
     *
     * @param type
     * @return
     * @throws IOException
     */
    Theme getTheme(Theme.Type type) throws IOException;

    /**
     * Returns the specified theme for the specified type.
     *
     * @param name
     * @param type
     * @return
     * @throws IOException
     */
    Theme getTheme(String name, Theme.Type type) throws IOException;

    /**
     * Returns a set of all theme names for the specified type.
     *
     * @param type
     * @return
     */
    Set nameSet(Theme.Type type);

    boolean isCacheEnabled();

    void clearCache();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy