public static class RepositoryComposition.RepositoryFragments extends Object implements Streamable<RepositoryFragment<?>>
fragments.clone, finalize, getClass, notify, notifyAll, wait, wait, waitand, and, and, and, filter, flatMap, get, isEmpty, map, of, of, of, stream, toList, toSet, toStreamable, toStreamableforEach, spliteratorpublic static RepositoryComposition.RepositoryFragments empty()
RepositoryComposition.RepositoryFragments.empty in interface Streamable<RepositoryFragment<?>>RepositoryComposition.RepositoryFragments.public static RepositoryComposition.RepositoryFragments just(Object... implementations)
RepositoryComposition.RepositoryFragments from just implementation objects.implementations - must not be null.RepositoryComposition.RepositoryFragments for implementations.public static RepositoryComposition.RepositoryFragments of(RepositoryFragment<?>... fragments)
RepositoryComposition.RepositoryFragments from fragments.fragments - must not be null.RepositoryComposition.RepositoryFragments for implementations.public static RepositoryComposition.RepositoryFragments from(List<RepositoryFragment<?>> fragments)
fragments - must not be null.RepositoryComposition.RepositoryFragments for implementations.public RepositoryComposition.RepositoryFragments append(RepositoryFragment<?> fragment)
RepositoryComposition.RepositoryFragments from the current content appending RepositoryFragment.fragment - must not be nullRepositoryComposition.RepositoryFragments containing all existing fragments and the given
RepositoryFragment as last element.public RepositoryComposition.RepositoryFragments append(RepositoryComposition.RepositoryFragments fragments)
RepositoryComposition.RepositoryFragments from the current content appending RepositoryComposition.RepositoryFragments.fragments - must not be nullRepositoryComposition.RepositoryFragments containing all existing fragments and the given
RepositoryComposition.RepositoryFragments as last elements.public Iterator<RepositoryFragment<?>> iterator()
iterator in interface Iterable<RepositoryFragment<?>>@Nullable public Object invoke(Method invokedMethod, Method methodToCall, Object[] args) throws Throwable
Method by resolving the fragment that implements a suitable method.invokedMethod - invoked method as per invocation on the interface.methodToCall - backend method that is backing the call.ThrowableCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.