📄 shortcircuitablevalidator.java
字号:
/* * Copyright (c) 2002-2006 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2.validator;/** * This interface should be implemented by validators that can short-circuit the validator queue * that it is in. * * @author Mark Woon */public interface ShortCircuitableValidator { /** * Sets whether this field validator should short circuit the validator queue * it's in if validation fails. * * @param shortcircuit true if this field validator should short circuit on * failure, false otherwise */ public void setShortCircuit(boolean shortcircuit); /** * Gets whether this field validator should short circuit the validator queue * it's in if validation fails. * * @return true if this field validator should short circuit on failure, * false otherwise */ public boolean isShortCircuit();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -