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