Package io.quarkus.domino
Class ReleaseCollection
- java.lang.Object
-
- io.quarkus.domino.ReleaseCollection
-
- All Implemented Interfaces:
Iterable<ReleaseRepo>
public class ReleaseCollection extends Object implements Iterable<ReleaseRepo>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<CircularReleaseDependency>getCircularDependencies()Detects and returns circular release dependencies, if any found.Iterable<ReleaseRepo>getRootReleaseRepos()booleanisEmpty()Iterator<ReleaseRepo>iterator()static ReleaseCollectionof(Collection<ReleaseRepo> releaseRepos)intsize()ReleaseCollectionsort()Returns a new collection of releases sorted according to their dependencies.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
of
public static ReleaseCollection of(Collection<ReleaseRepo> releaseRepos)
-
sort
public ReleaseCollection sort()
Returns a new collection of releases sorted according to their dependencies.- Returns:
- new collection of releases sorted according to their dependencies
-
getCircularDependencies
public Collection<CircularReleaseDependency> getCircularDependencies()
Detects and returns circular release dependencies, if any found.- Returns:
- circular release dependencies, if any found
-
iterator
public Iterator<ReleaseRepo> iterator()
- Specified by:
iteratorin interfaceIterable<ReleaseRepo>
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
getRootReleaseRepos
public Iterable<ReleaseRepo> getRootReleaseRepos()
-
-