# 4. Validator methods ## 4.1 `getCounter` obtains the index of the object being validated * `getCounter()` ## 4.2 `failFastRule` when enabled, if one validation group fails the others will not be validated. * `failFastRule()` ## 4.3 `setPropertyOnContext` when a value instance is being validated it will be available in context with the declared property name * `setPropertyOnContext(final String property)` ## 4.4 `getPropertyOnContext` when a value instance is available in context with the declared property name it can be retrieved anywhere in the validation tree. * `getPropertyOnContext(final String property, final Class
clazz)`
## 4.5 `validate` instance
* `validate(final T instance)`
## 4.6 `validate` instance with transform results
* `validate(final T instance, final ValidationResultTransform