Class ResolvedResources<R>

  • Type Parameters:
    R - The type of the resource that was resolved

    public class ResolvedResources<R>
    extends java.lang.Object
    Representing the result of resolving resources of type R from a Criterion.
    Since:
    4.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ResolvedResources​(Criterion criterion, java.util.Set<R> resources)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<R> getResources()
      Get the resources that were resolved.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResolvedResources

        public ResolvedResources​(Criterion criterion,
                                 java.util.Set<R> resources)
        Constructor.
        Parameters:
        criterion - The Criterion that was used to resolve resources
        resources - The resources that were resolved based on the criterion
    • Method Detail

      • getResources

        public java.util.Set<R> getResources()
        Get the resources that were resolved.
        Returns:
        The resolved resources as an immutable Set. Any attempt to modify will cause error.