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

de.agilecoders.wicket.less.LessCompilable Maven / Gradle / Ivy

package de.agilecoders.wicket.less;

import java.io.IOException;
import java.util.List;

/**
 * Interface to identify all less compatible {@link org.apache.wicket.request.resource.ResourceReference} classes.
 *
 * @author miha
 * @version 1.0
 */
public interface LessCompilable {

    /**
     * @return a list of less/css resources that should be compiled.
     */
    List getLessResources();

    /**
     * This method is called after the less/css content was generated. But only if
     * {@link de.agilecoders.wicket.settings.BootstrapLessCompilerSettings#storeChanges()} is set
     * to true and there are changes inside the less/css files.
     *
     * @param content The css content as byte array.
     * @throws IOException if content can't be stored.
     */
    void storeCompiledLess(byte[] content) throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy