Class ConfigurationBuildTargets


  • public class ConfigurationBuildTargets
    extends Object
    Encapsulates logic to convert UnconfiguredBuildTarget that represents a configuration target to an instance of BuildTarget.

    We represent configuration targets as BuildTarget (targets with a configuration) as oppose to UnconfiguredBuildTarget to keep target graph model consistent and in one place (TargetGraph uses BuildTarget only). This also allows us to avoid adding special handling for unconfigured targets in many other places (for example, in places with generic graph analysis like in query command).