Interface ContainerItem
-
- All Known Subinterfaces:
PanelContainerItem
@ConsumerType public interface ContainerItem
Interface for a single item in a container. Every container item has at least a resource.- Since:
- com.adobe.cq.wcm.core.components.models 12.27.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @NotNull java.lang.String
getName()
Gets the name of this container item.default @Nullable java.lang.String
getPath()
Returns the path of this container item.default @Nullable Resource
getResource()
Gets the resource for this container item.
-
-
-
Method Detail
-
getResource
@Nullable default @Nullable Resource getResource()
Gets the resource for this container item.- Returns:
- The resource for this container item.
- Since:
- com.adobe.cq.wcm.core.components.models 12.27.0
-
getName
@NotNull default @NotNull java.lang.String getName()
Gets the name of this container item.- Returns:
- The name of this container item.
- Since:
- com.adobe.cq.wcm.core.components.models 12.27.0
-
getPath
@Nullable default @Nullable java.lang.String getPath()
Returns the path of this container item.- Returns:
- the container item path or
null
- Since:
- com.adobe.cq.wcm.core.components.models 12.28.0
-
-