Class: KCommercial::KCPipeline::AutoCherryPickResult

Inherits:
Object
  • Object
show all
Defined in:
lib/KCommercialPipeline/core/version_pipeline/auto_cherry_pick.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target_b:, source_b:, conflicts:, cherry_picks:) ⇒ AutoCherryPickResult

Returns a new instance of AutoCherryPickResult.



13
14
15
16
17
18
# File 'lib/KCommercialPipeline/core/version_pipeline/auto_cherry_pick.rb', line 13

def initialize(target_b:,source_b:,conflicts:,cherry_picks:)
   @conflicts = conflicts
   @target_b = target_b
   @source_b = source_b
   @cherry_picks = cherry_picks
end

Instance Attribute Details

#cherry_picksObject

Returns the value of attribute cherry_picks.



12
13
14
# File 'lib/KCommercialPipeline/core/version_pipeline/auto_cherry_pick.rb', line 12

def cherry_picks
  @cherry_picks
end

#conflictsObject

Returns the value of attribute conflicts.



9
10
11
# File 'lib/KCommercialPipeline/core/version_pipeline/auto_cherry_pick.rb', line 9

def conflicts
  @conflicts
end

#source_bObject

Returns the value of attribute source_b.



11
12
13
# File 'lib/KCommercialPipeline/core/version_pipeline/auto_cherry_pick.rb', line 11

def source_b
  @source_b
end

#target_bObject

Returns the value of attribute target_b.



10
11
12
# File 'lib/KCommercialPipeline/core/version_pipeline/auto_cherry_pick.rb', line 10

def target_b
  @target_b
end