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

biz.gabrys.lesscss.extended.compiler.control.expiration.SourceExpirationChecker Maven / Gradle / Ivy

/*
 * Extended LessCSS Compiler
 * http://lesscss-extended-compiler.projects.gabrys.biz/
 *
 * Copyright (c) 2015 Adam Gabryś
 *
 * This file is licensed under the BSD 3-Clause (the "License").
 * You may not use this file except in compliance with the License.
 * You may obtain:
 *  - a copy of the License at project page
 *  - a template of the License at https://opensource.org/licenses/BSD-3-Clause
 */
package biz.gabrys.lesscss.extended.compiler.control.expiration;

import biz.gabrys.lesscss.extended.compiler.source.LessSource;

/**
 * Responsible for determining whether source files expired (require compilation).
 * @since 1.0
 */
public interface SourceExpirationChecker {

    /**
     * Checks whether a source file expired.
     * @param source the source file.
     * @return {@code true} whether the source file expired, otherwise {@code false}.
     * @since 1.0
     */
    boolean isExpired(LessSource source);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy