@ProviderType
public interface AnalyserTaskContext
-
Method Summary
-
Method Details
-
org.apache.sling.feature.Feature getFeature()
The assembled feature.
- Returns:
- The feature.
-
The feature descriptor.
- Returns:
- the descriptor.
-
org.apache.sling.feature.builder.FeatureProvider getFeatureProvider()
Returns a Feature Provider, if present.
- Returns:
- the feature provider to use, or
null if not present.
-
The framework descriptor
- Returns:
- the descriptor
-
java.util.Map<java.lang.String,java.lang.String> getConfiguration()
Returns the configuration.
- Returns:
- The configuration map for the analyser task
-
void reportWarning(java.lang.String message)
This method is invoked by a
AnalyserTask to report
a global warning.
- Parameters:
message - The message.
-
void reportArtifactWarning(org.apache.sling.feature.ArtifactId artifactId,
java.lang.String message)
This method is invoked by a
AnalyserTask to report
an artifact warning.
- Parameters:
artifactId - the artifactid
message - The message.
-
void reportArtifactError(org.apache.sling.feature.ArtifactId artifactId,
java.lang.String message)
This method is invoked by a
AnalyserTask to report
an artifact error.
- Parameters:
artifactId - the artifactid
message - The message.
-
void reportExtensionWarning(java.lang.String extension,
java.lang.String message)
This method is invoked by a
AnalyserTask to report
an extension warning.
- Parameters:
extension - the extension.
message - The message.
-
void reportExtensionError(java.lang.String extension,
java.lang.String message)
This method is invoked by a
AnalyserTask to report
an extension error.
- Parameters:
extension - the extension.
message - The message.
-
void reportConfigurationWarning(org.apache.sling.feature.Configuration cfg,
java.lang.String message)
This method is invoked by a
AnalyserTask to report
a configuration warning.
- Parameters:
cfg - the configuration.
message - The message.
- Since:
- 1.3.0
-
void reportConfigurationError(org.apache.sling.feature.Configuration cfg,
java.lang.String message)
This method is invoked by a
AnalyserTask to report
a configuration error.
- Parameters:
cfg - the configuration.
message - The message.
- Since:
- 1.3.0
-
void reportError(java.lang.String message)
This method is invoked by a
AnalyserTask to report
a global error.
- Parameters:
message - The message.