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

com.iwillfailyou.plugin.Inspection Maven / Gradle / Ivy

The newest version!
package com.iwillfailyou.plugin;

import java.io.File;

public interface Inspection {
    String name();
    void accept(File file) throws IwfyException;
    Failures failures();

    final class Fake implements Inspection {

        @Override
        public String name() {
            return "fake";
        }

        @Override
        public void accept(final File file) {
            // ignored
        }

        @Override
        public Failures failures() {
            return new Failures.Fake();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy