Interface AnalyserTaskContext
-
@ProviderType public interface AnalyserTaskContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>
getConfiguration()
Returns the configuration.org.apache.sling.feature.Feature
getFeature()
The assembled feature.FeatureDescriptor
getFeatureDescriptor()
The feature descriptor.org.apache.sling.feature.builder.FeatureProvider
getFeatureProvider()
Returns a Feature Provider, if present.BundleDescriptor
getFrameworkDescriptor()
The framework descriptorvoid
reportError(String message)
This method is invoked by aAnalyserTask
to report an error.void
reportWarning(String message)
This method is invoked by aAnalyserTask
to report a warning.
-
-
-
Method Detail
-
getFeature
org.apache.sling.feature.Feature getFeature()
The assembled feature.- Returns:
- The feature.
-
getFeatureDescriptor
FeatureDescriptor getFeatureDescriptor()
The feature descriptor.- Returns:
- the descriptor.
-
getFeatureProvider
org.apache.sling.feature.builder.FeatureProvider getFeatureProvider()
Returns a Feature Provider, if present.- Returns:
- the feature provider to use, or
null
if not present.
-
getFrameworkDescriptor
BundleDescriptor getFrameworkDescriptor()
The framework descriptor- Returns:
- the descriptor
-
getConfiguration
Map<String,String> getConfiguration()
Returns the configuration.- Returns:
- The configuration map for the analyser task
-
reportWarning
void reportWarning(String message)
This method is invoked by aAnalyserTask
to report a warning.- Parameters:
message
- The message.
-
reportError
void reportError(String message)
This method is invoked by aAnalyserTask
to report an error.- Parameters:
message
- The message.
-
-