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

uk.autores.handling.AssertResourceExists Maven / Gradle / Ivy

The newest version!
// Copyright 2023 https://github.com/autores-uk/autores/blob/main/LICENSE.txt
// SPDX-License-Identifier: Apache-2.0
package uk.autores.handling;

import uk.autores.processors.ResourceFilesProcessor;

/**
 * A resource handler that does nothing but can be used to ensure a resource exists at compile time.
 * {@link ResourceFilesProcessor} errors when a resource is not found.
 */
public final class AssertResourceExists implements Handler {

    /** Public constructor as per contract */
    public AssertResourceExists() {}

    /**
     * Does nothing.
     * @param context processing context
     */
    @Override
    public void handle(Context context) {
        // NOOP
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy