Interface ProcessorContext
-
public interface ProcessorContext
The context is used to pass in information into aProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addResource(String name, File file)
Add a resource to the binary or source artifact.org.apache.sling.feature.extension.apiregions.api.ApiRegion
getApiRegion()
Get the api regionorg.apache.sling.feature.Feature
getFeature()
Get the featureorg.apache.maven.plugin.logging.Log
getLog()
The loggerFile
getOutputDirectory()
Get the output directory.org.apache.maven.project.MavenProject
getProject()
Get the projectorg.apache.maven.execution.MavenSession
getSession()
Get the session
-
-
-
Method Detail
-
getFeature
org.apache.sling.feature.Feature getFeature()
Get the feature- Returns:
- The feature
-
getApiRegion
org.apache.sling.feature.extension.apiregions.api.ApiRegion getApiRegion()
Get the api region- Returns:
- The api region
-
getProject
org.apache.maven.project.MavenProject getProject()
Get the project- Returns:
- The project
-
getSession
org.apache.maven.execution.MavenSession getSession()
Get the session- Returns:
- The session
-
getLog
org.apache.maven.plugin.logging.Log getLog()
The logger- Returns:
- The log
-
getOutputDirectory
File getOutputDirectory()
Get the output directory. This directory should be used byaddResource(String, File)
- Returns:
- The output directory
- Since:
- 1.8.0
-
-