Interface ResolutionAgent


public interface ResolutionAgent
Definition for an agent offering access to resolution information defined for the underlying project.

Example:
SpecialistsBroker.requireSpecialist(ResolutionAgent.TYPE)

Since:
4.2.405
  • Field Details

  • Method Details

    • getResolutions

      List<Resolution> getResolutions()
      Get an unmodifiable list of available resolutions.
      Returns:
      a list of resolutions.
      Since:
      5.1.28
    • getResolutionByName

      @Nullable @Nullable Resolution getResolutionByName(String resolutionName)
      Get the resolution having the given symbolic name.
      Parameters:
      resolutionName - The resolution's symbolic name.
      Returns:
      The according resolution or null
      Since:
      4.2.405
    • getOriginalResolution

      Resolution getOriginalResolution()
      Get the resolution defining the original.
      Returns:
      The original resolution
      Since:
      4.2.405
    • getResolutionsByTag

      @NotNull @NotNull List<Resolution> getResolutionsByTag(@NotNull @NotNull String... tags)
      Get an unmodifiable list of available resolutions tagged with one of the given tags.
      Parameters:
      tags - One or more tags the resolution must be tagged with, to be included in the result.
      Returns:
      A list of resolutions, may be empty.
      Since:
      5.2.210803