Package com.day.cq.wcm.command.api
Interface CommandBuilderFactory
-
@ProviderType public interface CommandBuilderFactoryfactory interface to create the requiredCommandBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends CommandBuilder>
TcreateCommandBuilder(java.lang.Class<T> clazz)creates the requiredCommandBuilder
-
-
-
Method Detail
-
createCommandBuilder
@Nonnull <T extends CommandBuilder> T createCommandBuilder(@Nonnull java.lang.Class<T> clazz) throws java.lang.IllegalArgumentException
creates the requiredCommandBuilder- Parameters:
clazz- class name of the required command builder- Returns:
- the required
CommandBuilder - Throws:
java.lang.IllegalArgumentException- if the clazz argument is unsupported
-
-