Package org.apache.struts2.validator

# Interface ShortCircuitableValidator

All Known Implementing Classes:
  `ConditionalVisitorFieldValidator`, `ConversionErrorFieldValidator`, `CreditCardValidator`, `DateRangeFieldValidator`, `DoubleRangeFieldValidator`, `EmailValidator`, `ExpressionValidator`, `FieldExpressionValidator`, `FieldValidatorSupport`, `IntRangeFieldValidator`, `LongRangeFieldValidator`, `RangeValidatorSupport`, `RegexFieldValidator`, `RepopulateConversionErrorFieldValidatorSupport`, `RequiredFieldValidator`, `RequiredStringValidator`, `ShortRangeFieldValidator`, `StringLengthFieldValidator`, `URLValidator`, `ValidatorSupport`, `VisitorFieldValidator`

public interface ShortCircuitableValidator
This interface should be implemented by validators that can short-circuit the validator queue that it is in.

Author:
  Mark Woon

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isShortCircuit()`
  Gets whether this field validator should short circuit the validator queue it's in if validation fails.
  `void`
  `setShortCircuit(boolean shortcircuit)`
  Sets whether this field validator should short circuit the validator queue it's in if validation fails.

- ## Method Details

  - ### setShortCircuit

    void setShortCircuit(boolean shortcircuit)
    Sets whether this field validator should short circuit the validator queue it's in if validation fails.
    Parameters:
      `shortcircuit` - `true` if this field validator should short circuit on failure, `false` otherwise

  - ### isShortCircuit

    boolean isShortCircuit()
    Gets whether this field validator should short circuit the validator queue it's in if validation fails.
    Returns:
      `true` if this field validator should short circuit on failure, `false` otherwise