Class DependentFieldRequiredValidator
java.lang.Object
com.opensymphony.xwork2.validator.validators.ValidatorSupport
com.atlassian.bamboo.ww2.validators.DependentFieldRequiredValidator
- All Implemented Interfaces:
com.opensymphony.xwork2.validator.ShortCircuitableValidator
,com.opensymphony.xwork2.validator.Validator
public class DependentFieldRequiredValidator
extends com.opensymphony.xwork2.validator.validators.ValidatorSupport
-
Field Summary
Fields inherited from class com.opensymphony.xwork2.validator.validators.ValidatorSupport
defaultMessage, EMPTY_STRING, messageKey, stack, textProviderFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setFieldName1
(String fieldName1) void
setFieldName2
(String fieldName2) void
Methods inherited from class com.opensymphony.xwork2.validator.validators.ValidatorSupport
addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getValidatorContext, getValidatorType, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setTextProviderFactory, setValidatorContext, setValidatorType, setValueStack
-
Constructor Details
-
DependentFieldRequiredValidator
public DependentFieldRequiredValidator()
-
-
Method Details
-
validate
- Throws:
com.opensymphony.xwork2.validator.ValidationException
-
getFieldName1
-
setFieldName1
-
getFieldName2
-
setFieldName2
-