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

de.agilecoders.wicket.util.IBootstrapLessCompiler Maven / Gradle / Ivy

package de.agilecoders.wicket.util;

import de.agilecoders.wicket.less.LessCompilable;
import org.apache.wicket.util.time.Time;

/**
 * The {@code IBootstrapLessCompiler} interface.
 *
 * @author miha
 * @version 1.0
 */
public interface IBootstrapLessCompiler {

    /**
     * generates a css file according to the given {@link LessCompilable}.
     *
     * @param lessCompilable The {@link LessCompilable}
     * @return the generated css file as byte array.
     */
    byte[] generate(LessCompilable lessCompilable);

    /**
     * returns the last modification time of all less files and their imports.
     *
     *
     * @param lessCompilable The {@link de.agilecoders.wicket.less.LessCompilable}
     * @return the last modification time
     */
    Time lastModifiedRecursive(LessCompilable lessCompilable);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy