Interface CascadeAssembler.CascadeResolver
- All Known Implementing Classes:
UrlCascadeResolver
- Enclosing class:
CascadeAssembler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Resolves the
ProjectCascade for a cascade neighbour.
The caller decides how a neighbour is reached — a sibling
directory on disk, or a git checkout from the edge's
url — and reads its
src/main/cascade/release-cascade.yaml.
-
Method Summary
Modifier and TypeMethodDescriptionresolve(CascadeEdge edge) Resolves and parses one neighbour's manifest.
-
Method Details
-
resolve
Resolves and parses one neighbour's manifest.- Parameters:
edge- the edge naming the neighbour (carries its coordinates,repo, andurl)- Returns:
- the neighbour's parsed manifest
- Throws:
RuntimeException- if the neighbour's manifest cannot be located or parsed
-