public class PdpProcessor extends Object
| Constructor and Description |
|---|
PdpProcessor(CampPlatform campPlatform) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterpreter(PlanInterpreter interpreter) |
void |
addMatcher(PdpMatcher m) |
Map<String,Object> |
applyInterpreters(Map<String,Object> originalDeploymentPlan)
returns a DeploymentPlan object which is the result of running the interpretation
(with all interpreters) against the supplied deployment plan YAML object,
essentially a post-parse processing step before matching
|
protected void |
applyMatchers(Object deploymentPlanItem,
AssemblyTemplateConstructor atc) |
List<PdpMatcher> |
getMatchers() |
DeploymentPlan |
parseDeploymentPlan(Reader yaml) |
DeploymentPlan |
parseDeploymentPlan(String yaml) |
AssemblyTemplate |
registerDeploymentPlan(DeploymentPlan plan)
applies matchers to the given deployment plan to create an assembly template
|
AssemblyTemplate |
registerDeploymentPlan(Reader yaml)
create and return an AssemblyTemplate based on the given DP (yaml)
|
AssemblyTemplate |
registerPdpFromArchive(InputStream archiveInput) |
public PdpProcessor(CampPlatform campPlatform)
public DeploymentPlan parseDeploymentPlan(Reader yaml)
public DeploymentPlan parseDeploymentPlan(String yaml)
public AssemblyTemplate registerDeploymentPlan(Reader yaml)
public AssemblyTemplate registerDeploymentPlan(DeploymentPlan plan)
public AssemblyTemplate registerPdpFromArchive(InputStream archiveInput)
public void addMatcher(PdpMatcher m)
public List<PdpMatcher> getMatchers()
protected void applyMatchers(Object deploymentPlanItem, AssemblyTemplateConstructor atc)
public void addInterpreter(PlanInterpreter interpreter)
public Map<String,Object> applyInterpreters(Map<String,Object> originalDeploymentPlan)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.