Package org.apache.sling.feature.builder
Interface HandlerContext
-
@ProviderType public interface HandlerContextContext for an extension handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArtifactProvidergetArtifactProvider()Provide the optional artifact provider.Map<String,String>getConfiguration()Configuration for the handlerbooleanisInitialMerge()Is this the first feature being merged in?booleanisPrototypeMerge()Is this merging a prototype into the defining feature?
-
-
-
Method Detail
-
getArtifactProvider
ArtifactProvider getArtifactProvider()
Provide the optional artifact provider.- Returns:
- The artifact provider or
null
-
getConfiguration
Map<String,String> getConfiguration()
Configuration for the handler- Returns:
- Map of provided configuration, or an empty map if there is no configuration.
Never
null.
-
isPrototypeMerge
boolean isPrototypeMerge()
Is this merging a prototype into the defining feature?- Returns:
trueif it is prototype processing- Since:
- 1.3.0
-
isInitialMerge
boolean isInitialMerge()
Is this the first feature being merged in?- Returns:
trueif it is the first feature- Since:
- 1.3.0
-
-