@ProviderType
public interface AnalyserTaskContext
Modifier and Type | Method and 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 descriptor
|
void |
reportArtifactError(org.apache.sling.feature.ArtifactId artifactId,
String message)
This method is invoked by a
AnalyserTask to report
an artifact error. |
void |
reportArtifactWarning(org.apache.sling.feature.ArtifactId artifactId,
String message)
This method is invoked by a
AnalyserTask to report
an artifact warning. |
void |
reportConfigurationError(org.apache.sling.feature.Configuration cfg,
String message)
This method is invoked by a
AnalyserTask to report
a configuration error. |
void |
reportConfigurationWarning(org.apache.sling.feature.Configuration cfg,
String message)
This method is invoked by a
AnalyserTask to report
a configuration warning. |
void |
reportError(String message)
This method is invoked by a
AnalyserTask to report
a global error. |
void |
reportExtensionError(String extension,
String message)
This method is invoked by a
AnalyserTask to report
an extension error. |
void |
reportExtensionWarning(String extension,
String message)
This method is invoked by a
AnalyserTask to report
an extension warning. |
void |
reportWarning(String message)
This method is invoked by a
AnalyserTask to report
a global warning. |
org.apache.sling.feature.Feature getFeature()
FeatureDescriptor getFeatureDescriptor()
org.apache.sling.feature.builder.FeatureProvider getFeatureProvider()
null
if not present.BundleDescriptor getFrameworkDescriptor()
Map<String,String> getConfiguration()
void reportWarning(String message)
AnalyserTask
to report
a global warning.message
- The message.void reportArtifactWarning(org.apache.sling.feature.ArtifactId artifactId, String message)
AnalyserTask
to report
an artifact warning.artifactId
- the artifactidmessage
- The message.void reportArtifactError(org.apache.sling.feature.ArtifactId artifactId, String message)
AnalyserTask
to report
an artifact error.artifactId
- the artifactidmessage
- The message.void reportExtensionWarning(String extension, String message)
AnalyserTask
to report
an extension warning.extension
- the extension.message
- The message.void reportExtensionError(String extension, String message)
AnalyserTask
to report
an extension error.extension
- the extension.message
- The message.void reportConfigurationWarning(org.apache.sling.feature.Configuration cfg, String message)
AnalyserTask
to report
a configuration warning.cfg
- the configuration.message
- The message.void reportConfigurationError(org.apache.sling.feature.Configuration cfg, String message)
AnalyserTask
to report
a configuration error.cfg
- the configuration.message
- The message.void reportError(String message)
AnalyserTask
to report
a global error.message
- The message.Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.