Interface ProcessorContext
-
public interface ProcessorContextThe context is used to pass in information into aProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddResource(String name, File file)Add a resource to the binary or source artifact.org.apache.sling.feature.extension.apiregions.api.ApiRegiongetApiRegion()Get the api regionorg.apache.sling.feature.FeaturegetFeature()Get the featureorg.apache.maven.plugin.logging.LoggetLog()The loggerFilegetOutputDirectory()Get the output directory.org.apache.maven.project.MavenProjectgetProject()Get the projectorg.apache.maven.execution.MavenSessiongetSession()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
-
-