Package com.adobe.cq.testing.client
Class ExperienceFragmentsClient.ExperienceFragementsConfigurationBuilder
- java.lang.Object
-
- com.adobe.cq.testing.client.ExperienceFragmentsClient.ExperienceFragementsConfigurationBuilder
-
- Enclosing class:
- ExperienceFragmentsClient
public static class ExperienceFragmentsClient.ExperienceFragementsConfigurationBuilder extends Object
Experience Fragments configuration builder as it can be done from the UI
-
-
Constructor Summary
Constructors Constructor Description ExperienceFragementsConfigurationBuilder(ExperienceFragmentsClient client)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExperienceFragmentsClient.ExperienceFragmentsConfiguration
configure()
Do the configurationExperienceFragmentsClient.ExperienceFragementsConfigurationBuilder
withAllowedTemplates(List<String> allowedTemplates)
Set the allowed templates
-
-
-
Constructor Detail
-
ExperienceFragementsConfigurationBuilder
public ExperienceFragementsConfigurationBuilder(ExperienceFragmentsClient client) throws org.apache.sling.testing.clients.ClientException
Constructor- Parameters:
client
- client to be used- Throws:
org.apache.sling.testing.clients.ClientException
- if the builder cannot be created
-
-
Method Detail
-
withAllowedTemplates
public ExperienceFragmentsClient.ExperienceFragementsConfigurationBuilder withAllowedTemplates(List<String> allowedTemplates)
Set the allowed templates- Parameters:
allowedTemplates
- the complete list of allowed templates.- Returns:
- this
-
configure
public ExperienceFragmentsClient.ExperienceFragmentsConfiguration configure() throws org.apache.sling.testing.clients.ClientException
Do the configuration- Returns:
- The new configuration
- Throws:
org.apache.sling.testing.clients.ClientException
- if the configuration can not be created
-
-