@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ApiRoot
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
baseResource
The Sling path to use when creating this resource.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<? extends ModelPathMapper> |
pathMapper
If paths in the content tree need to changed as they go into the API space implement a ModelPathMapper the
converts between the new URL spaces.
|
public abstract java.lang.String baseResource
public abstract java.lang.Class<? extends ModelPathMapper> pathMapper
Copyright © 2010 - 2020 Adobe. All Rights Reserved