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

com.metreeca.mark.Pipe Maven / Gradle / Ivy

/*
 * Copyright © 2019-2020 Metreeca srl. All rights reserved.
 */

package com.metreeca.mark;

import java.nio.file.Path;


/**
 * Site resource processing pipe.
 *
 * 

Transfers processed resources from the source to the target folder.

*/ @FunctionalInterface public interface Pipe { /** * Processes a resource. * * @param source the path of the source file * @param target the path of the target file * * @return {@code true} if this pipe actually handled the {@code source} file; {@code false}, otherwise */ public boolean process(final Path source, final Path target); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy