/*
 * MIT License
 *
 * Copyright (c) 2017 Connor Hartley
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package com.ichorpowered.guardian.api.detection;

import com.ichorpowered.guardian.api.Guardian;
import com.ichorpowered.guardian.api.report.Summary;
import com.ichorpowered.guardian.api.sequence.Sequence;
import com.ichorpowered.guardian.api.sequence.action.Action;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * Represents a series of operations and
 * conditions to determine if the actions
 * of a player may be illegal, inappropriate
 * or otherwise harmful to the server.
 *
 * @param <E> the check owner type
 * @param <F> the check owner configuration type
 * @param <P> the player type
 */
public interface Check<E, F, P> {

    /**
     * Returns the plugin that owns the detection
     * that created this check.
     *
     * @return the detection owner
     */
    @Nonnull
    E getOwner();

    /**
     * Returns the {@link Detection} that owns this check.
     *
     * @return the check owner
     */
    @Nonnull
    Detection<E, F, P> getDetection();

    /**
     * Returns the {@link Sequence} that contains the chained
     * {@link Action}s that produce a {@link Summary} for players
     * checked.
     *
     * @return the sequence
     */
    @Nonnull
    Sequence<P> getSequence();

    /**
     * Compares this check to another check and returns true,
     * if they are the same, false if they are not.
     *
     * @param check another check
     * @param <K> another check owner type
     * @param <G> another check owner configuration type
     * @return true whether they are the same, false if not
     */
    <K extends Guardian, G> boolean compare(@Nullable Check<K, G, P> check);

}

@@ -1184,55 +1184,8 @@
 n;%0A%0A
-import com.ichorpowered.guardian.api.Guardian;%0A
 impo
@@ -2491,108 +2491,8 @@
 eck%0A
-     * @param %3CK%3E another check owner type%0A     * @param %3CG%3E another check owner configuration type%0A
     
@@ -2562,32 +2562,8 @@
 %0A   
- %3CK extends Guardian, G%3E
  boo
@@ -2595,12 +2595,12 @@
 eck%3C
-K, G
+?, ?
 , P%3E

Fix up comparison generics in checks