public class Preprocessor extends Object
Constructor and Description |
---|
Preprocessor() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.sling.feature.builder.FeatureProvider |
createFeatureProvider(Environment env,
FeatureProjectInfo info,
boolean isTest,
boolean skipAddDependencies,
String dependencyScope,
List<org.apache.sling.feature.Feature> projectFeatures) |
protected org.apache.sling.feature.Feature |
postProcessReadFeature(org.apache.sling.feature.Feature result)
Hook to post process the local feature
|
protected String |
preprocessFeature(org.codehaus.plexus.logging.Logger logger,
FeatureProjectInfo info,
FeatureProjectConfig config,
File file,
String readJson) |
void |
process(Environment env)
Process the provided projects.
|
protected void |
readProjectFeatures(org.codehaus.plexus.logging.Logger logger,
FeatureProjectInfo info,
FeatureProjectConfig config)
Read the features for a feature project.
|
public void process(Environment env)
env
- The environment with all maven settings and projectsprotected void readProjectFeatures(org.codehaus.plexus.logging.Logger logger, FeatureProjectInfo info, FeatureProjectConfig config)
logger
- The loggerinfo
- The project infoconfig
- The configurationprotected String preprocessFeature(org.codehaus.plexus.logging.Logger logger, FeatureProjectInfo info, FeatureProjectConfig config, File file, String readJson)
protected org.apache.sling.feature.Feature postProcessReadFeature(org.apache.sling.feature.Feature result)
result
- The read featureprotected org.apache.sling.feature.builder.FeatureProvider createFeatureProvider(Environment env, FeatureProjectInfo info, boolean isTest, boolean skipAddDependencies, String dependencyScope, List<org.apache.sling.feature.Feature> projectFeatures)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.