public class UserProfileAttributeValidationContext extends ValidationContext
ValidationContext
used when validators are called for UserProfile
attribute validation. Allows
easy access to UserProfile related bits, like AttributeContext
Constructor and Description |
---|
UserProfileAttributeValidationContext(AttributeContext attributeContext) |
Modifier and Type | Method and Description |
---|---|
static UserProfileAttributeValidationContext |
from(ValidationContext vc)
Easy way to cast me from
ValidationContext in Validator implementation |
AttributeContext |
getAttributeContext() |
Map<String,Object> |
getAttributes() |
addError, getErrors, getSession, isValid, toResult, toString, validator
public UserProfileAttributeValidationContext(AttributeContext attributeContext)
public static UserProfileAttributeValidationContext from(ValidationContext vc)
ValidationContext
in Validator
implementationpublic AttributeContext getAttributeContext()
public Map<String,Object> getAttributes()
getAttributes
in class ValidationContext
Copyright © 2021 JBoss by Red Hat. All rights reserved.