use of org.springframework.ide.vscode.bosh.models.StemcellModel in project sts4 by spring-projects.
the class BoshDeploymentManifestSchema method getCurrentStemcell.
private StemcellModel getCurrentStemcell(DynamicSchemaContext dc) throws Exception {
YamlPath path = dc.getPath();
YamlFileAST ast = asts.getAst(dc.getDocument(), true);
return new StemcellModel(path.dropLast().traverseToNode(ast));
}
Aggregations