Class ModelParser
java.lang.Object
io.wcm.devops.conga.plugins.aem.maven.model.ModelParser
Parsers model.yaml files generated by CONGA.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollects all assigned "cloudManager.target" values (lists or single values) to any role from the node.Returns all content packages and OSGi bundles referenced in this model file.booleanChecks if the node has the given node role assigned.
-
Field Details
-
MODEL_FILE
Model file.- See Also:
-
-
Constructor Details
-
ModelParser
- Parameters:
nodeDir- Node directory
-
-
Method Details
-
getInstallableFilesForNode
Returns all content packages and OSGi bundles referenced in this model file.- Returns:
- List of content packages and OSGi bundles.
-
hasRole
Checks if the node has the given node role assigned.- Parameters:
roleName- Node role name- Returns:
- true if role is assigned
-
getCloudManagerTarget
Collects all assigned "cloudManager.target" values (lists or single values) to any role from the node.- Returns:
- List of cloud manager environment names or "none"
-