Class: Ivy::Findrevision
Instance Attribute Summary
Attributes inherited from Target
#params
Instance Method Summary
collapse
Methods inherited from Target
#execute, #initialize
Constructor Details
This class inherits a constructor from Ivy::Target
Instance Method Details
#parameter ⇒ Object
5
6
7
8
9
10
11
12
13
14
|
# File 'lib/ivy/findrevision.rb', line 5
def parameter
[
Parameter.new(:organisation, true),
Parameter.new(:module, true),
Parameter.new(:branch, false),
Parameter.new(:revision, true),
Parameter.new(:property, false),
Parameter.new(:settingsRef, false)
]
end
|
#result_property_values ⇒ Object
16
17
18
19
20
21
|
# File 'lib/ivy/findrevision.rb', line 16
def result_property_values
property = params[:property] || 'ivy.revision'
[
ResultValue.new("#{property}", nil)
]
end
|