Class ResolvedResources<R extends ExecutionEnvironmentDTO>

java.lang.Object
com.netflix.genie.common.dto.ResolvedResources<R>
Type Parameters:
R - The type of the resource that was resolved

public class ResolvedResources<R extends ExecutionEnvironmentDTO> extends Object
Representing the result of resolving resources of type R from a Criterion.
Since:
4.3.0
  • Constructor Details

    • ResolvedResources

      public ResolvedResources(Criterion criterion, 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 Details

    • getResources

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