public class PdpProcessor
extends java.lang.Object
| Constructor and Description | 
|---|
PdpProcessor(CampPlatform campPlatform)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addInterpreter(PlanInterpreter interpreter)  | 
void | 
addMatcher(PdpMatcher m)  | 
java.util.Map<java.lang.String,java.lang.Object> | 
applyInterpreters(java.util.Map<java.lang.String,java.lang.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 
 | 
java.util.List<PdpMatcher> | 
getMatchers()  | 
DeploymentPlan | 
parseDeploymentPlan(java.io.Reader yaml)  | 
DeploymentPlan | 
parseDeploymentPlan(java.lang.String yaml)  | 
AssemblyTemplate | 
registerDeploymentPlan(DeploymentPlan plan)
applies matchers to the given deployment plan to create an assembly template 
 | 
AssemblyTemplate | 
registerDeploymentPlan(java.io.Reader yaml)
create and return an AssemblyTemplate based on the given DP (yaml) 
 | 
AssemblyTemplate | 
registerPdpFromArchive(java.io.InputStream archiveInput)  | 
public PdpProcessor(CampPlatform campPlatform)
public DeploymentPlan parseDeploymentPlan(java.io.Reader yaml)
public DeploymentPlan parseDeploymentPlan(java.lang.String yaml)
public AssemblyTemplate registerDeploymentPlan(java.io.Reader yaml)
public AssemblyTemplate registerDeploymentPlan(DeploymentPlan plan)
public AssemblyTemplate registerPdpFromArchive(java.io.InputStream archiveInput)
public void addMatcher(PdpMatcher m)
public java.util.List<PdpMatcher> getMatchers()
public void addInterpreter(PlanInterpreter interpreter)
public java.util.Map<java.lang.String,java.lang.Object> applyInterpreters(java.util.Map<java.lang.String,java.lang.Object> originalDeploymentPlan)