Class RepoInitHandler
java.lang.Object
org.apache.sling.feature.launcher.impl.extensions.handlers.RepoInitHandler
- All Implemented Interfaces:
ExtensionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandle(ExtensionContext context, org.apache.sling.feature.Extension extension) Try to handle the extension.
-
Constructor Details
-
RepoInitHandler
public RepoInitHandler()
-
-
Method Details
-
handle
public boolean handle(ExtensionContext context, org.apache.sling.feature.Extension extension) throws Exception Description copied from interface:ExtensionHandlerTry to handle the extension. As soon as a handler returnstrue, no other handler is invoked for this extension.- Specified by:
handlein interfaceExtensionHandler- Parameters:
context- Context for the handlerextension- The feature model extension- Returns:
trueif the handler handled the extension.- Throws:
Exception- If an error occurs during processing of the extension.
-