Class: Pod::Installer::ProjectCache::ProjectCacheAnalysisResult
- Inherits:
-
Object
- Object
- Pod::Installer::ProjectCache::ProjectCacheAnalysisResult
- Defined in:
- lib/cocoapods/installer/project_cache/project_cache_analysis_result.rb
Overview
The result object from analyzing the project cache.
Instance Attribute Summary collapse
-
#aggregate_targets_to_generate ⇒ Array<AggregateTarget>
readonly
The list of aggregate targets that need to be regenerated.
-
#build_configurations ⇒ Hash{String => Symbol}
readonly
The build configurations to install with each target.
-
#cache_key_by_target_label ⇒ Hash{String => TargetCacheKey}
readonly
Updated hash of target cache key by target label for all targets.
-
#pod_targets_to_generate ⇒ Array<PodTarget>
readonly
The list of pod targets that need to be regenerated.
-
#project_object_version ⇒ Integer
readonly
The project object version to install with each target.
Instance Method Summary collapse
-
#initialize(pod_targets_to_generate, aggregate_targets_to_generate, cache_key_by_target_label, build_configurations, project_object_version) ⇒ ProjectCacheAnalysisResult
constructor
Initialize a new instance.
Constructor Details
#initialize(pod_targets_to_generate, aggregate_targets_to_generate, cache_key_by_target_label, build_configurations, project_object_version) ⇒ ProjectCacheAnalysisResult
Initialize a new instance.
42 43 44 45 46 47 48 49 |
# File 'lib/cocoapods/installer/project_cache/project_cache_analysis_result.rb', line 42 def initialize(pod_targets_to_generate, aggregate_targets_to_generate, cache_key_by_target_label, build_configurations, project_object_version) @pod_targets_to_generate = pod_targets_to_generate @aggregate_targets_to_generate = aggregate_targets_to_generate @cache_key_by_target_label = cache_key_by_target_label @build_configurations = build_configurations @project_object_version = project_object_version end |
Instance Attribute Details
#aggregate_targets_to_generate ⇒ Array<AggregateTarget> (readonly)
Returns The list of aggregate targets that need to be regenerated. This can be nil if we don’t want to generate ANY aggregate targets since we still want to be able to generate an empty list of aggregate targets.
17 18 19 |
# File 'lib/cocoapods/installer/project_cache/project_cache_analysis_result.rb', line 17 def aggregate_targets_to_generate @aggregate_targets_to_generate end |
#build_configurations ⇒ Hash{String => Symbol} (readonly)
Returns The build configurations to install with each target.
27 28 29 |
# File 'lib/cocoapods/installer/project_cache/project_cache_analysis_result.rb', line 27 def build_configurations @build_configurations end |
#cache_key_by_target_label ⇒ Hash{String => TargetCacheKey} (readonly)
Returns Updated hash of target cache key by target label for all targets.
22 23 24 |
# File 'lib/cocoapods/installer/project_cache/project_cache_analysis_result.rb', line 22 def cache_key_by_target_label @cache_key_by_target_label end |
#pod_targets_to_generate ⇒ Array<PodTarget> (readonly)
Returns The list of pod targets that need to be regenerated.
10 11 12 |
# File 'lib/cocoapods/installer/project_cache/project_cache_analysis_result.rb', line 10 def pod_targets_to_generate @pod_targets_to_generate end |
#project_object_version ⇒ Integer (readonly)
Returns The project object version to install with each target.
32 33 34 |
# File 'lib/cocoapods/installer/project_cache/project_cache_analysis_result.rb', line 32 def project_object_version @project_object_version end |