@ComponentPropertyType
public @interface AdapterCondition
adapter.condition
.
The use of this annotation will only have an effect if used in conjunction with the SlingAdapter
annotation, which defines properties that are required for an AdapterFactory
to be picked up.
Use this annotation to specify the condition under which the adaption will take place. The
main use-case for annotating a class with this annotation, is when the result of the adaption
could be null
.
public abstract String value
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.