/*
 * Maintained by brightSPARK Labs.
 * www.brightsparklabs.com
 *
 * Refer to LICENSE at repository root for license details.
 */

package com.brightsparklabs.assam.validator;

import com.brightsparklabs.assam.selector.Selector;

/**
 * Combines a {@link Selector}, with the ability to provide a respective {@link Validator} if the selection criteria is
 * met.
 *
 * @author brightSPARK Labs
 */
public interface ValidatorSelector extends Selector {
    // -------------------------------------------------------------------------
    // CONSTANTS
    // -------------------------------------------------------------------------

    // -------------------------------------------------------------------------
    // CLASS VARIABLES
    // -------------------------------------------------------------------------

    // -------------------------------------------------------------------------
    // PUBLIC METHODS
    // -------------------------------------------------------------------------

    /**
     * Allows a ValidationRule to be associated with a Selector.
     *
     * @return the wrapped ValidationRule.
     */
    ValidationRule getValidator();
}

@@ -326,16 +326,19 @@
 %7D if the
+%0A *
  selecti
@@ -351,19 +351,16 @@
 teria is
-%0A *
  met.%0A *

Format code via `./gradlew spotlessApply`