public static interface ExperienceFragmentsClient.XFTemplate
| Modifier and Type | Method and Description |
|---|---|
<T extends ExperienceFragmentsClient.VariantComponents> |
getComponents(ExperienceFragmentsClient xfClient,
String variantPath)
A
ExperienceFragmentsClient.VariantComponents subclass object that can be used to configure the components defined in that template |
boolean |
isSocialTemplate()
This template creates a social variant
|
String |
path()
Path to the template
|
List<String> |
tags()
Template tags
|
String |
variantType()
Template's cq:xfVariantType value
|
String path()
<T extends ExperienceFragmentsClient.VariantComponents> T getComponents(ExperienceFragmentsClient xfClient, String variantPath)
ExperienceFragmentsClient.VariantComponents subclass object that can be used to configure the components defined in that templateT - The subclass of ExperienceFragmentsClient.VariantComponents to which the result should be casted toxfClient - a ExperienceFragmentsClient instancevariantPath - the path to the experience fragment variant defined with this templateExperienceFragmentsClient.VariantComponents subclass object that can be used to configure the components defined in that templateboolean isSocialTemplate()
true if the template creates a social variantString variantType()
Copyright © 2018. All rights reserved.