Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2.validator
Interface ShortCircuitableValidator

All Known Implementing Classes:
  AbstractRangeValidator, ConversionErrorFieldValidator, DateRangeFieldValidator, DoubleRangeFieldValidator, EmailValidator, ExpressionValidator, FieldExpressionValidator, FieldValidatorSupport, IntRangeFieldValidator, RegexFieldValidator, RepopulateConversionErrorFieldValidatorSupport, RequiredFieldValidator, RequiredStringValidator, 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
`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 Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.