    001/*
    002 * Forge Mod Loader
    003 * Copyright (c) 2012-2013 cpw.
    004 * All rights reserved. This program and the accompanying materials
    005 * are made available under the terms of the GNU Lesser Public License v2.1
    006 * which accompanies this distribution, and is available at
    007 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    008 *
    009 * Contributors:
    010 *     cpw - implementation
    011 */
    012
    013package cpw.mods.fml.common.event;
    014
    015import java.io.File;
    016import java.util.List;
    017import java.util.Set;
    018
    019import com.google.common.collect.ImmutableSet;
    020
    021
    022public class FMLFingerprintViolationEvent extends FMLEvent {
    023
    024    public final boolean isDirectory;
    025    public final Set<String> fingerprints;
    026    public final File source;
    027    public final String expectedFingerprint;
    028
    029    public FMLFingerprintViolationEvent(boolean isDirectory, File source, ImmutableSet<String> fingerprints, String expectedFingerprint)
    030    {
    031        super();
    032        this.isDirectory = isDirectory;
    033        this.source = source;
    034        this.fingerprints = fingerprints;
    035        this.expectedFingerprint = expectedFingerprint;
    036    }
    037}