Class FilepathValidator

java.lang.Object
org.apache.struts2.validator.validators.ValidatorSupport
org.apache.struts2.validator.validators.FieldValidatorSupport
com.atlassian.bamboo.ww2.validators.FilepathValidator
All Implemented Interfaces:
org.apache.struts2.validator.FieldValidator, org.apache.struts2.validator.ShortCircuitableValidator, org.apache.struts2.validator.Validator

public class FilepathValidator extends org.apache.struts2.validator.validators.FieldValidatorSupport
Validates that file path points to an existing file.
  • Field Summary

    Fields inherited from class org.apache.struts2.validator.validators.FieldValidatorSupport

    currentValue, fieldName, type

    Fields inherited from class org.apache.struts2.validator.validators.ValidatorSupport

    defaultMessage, EMPTY_STRING, messageKey, stack, textProviderFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(Object object)
     

    Methods inherited from class org.apache.struts2.validator.validators.FieldValidatorSupport

    getCurrentValue, getFieldName, getValidatorType, setFieldName, setValidatorType

    Methods inherited from class org.apache.struts2.validator.validators.ValidatorSupport

    addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getValidatorContext, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setTextProviderFactory, setValidatorContext, setValueStack

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.struts2.validator.Validator

    getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getValidatorContext, setDefaultMessage, setMessageKey, setMessageParameters, setValidatorContext, setValueStack
  • Constructor Details

    • FilepathValidator

      public FilepathValidator()
  • Method Details

    • validate

      public void validate(Object object) throws org.apache.struts2.validator.ValidationException
      Throws:
      org.apache.struts2.validator.ValidationException