Class: Ivy::Resolve

Inherits:
Target show all
Defined in:
lib/ivy/resolve.rb

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

#parameterObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/ivy/resolve.rb', line 5

def parameter
  [
    Parameter.new(:file, false),
    Parameter.new(:conf, false),
    Parameter.new(:refresh, false),
    Parameter.new(:resolveMode, false),
    Parameter.new(:inline, false),
    Parameter.new(:keep, false),
    Parameter.new(:organisation, false),
    Parameter.new(:module, false),
    Parameter.new(:revision, false),
    Parameter.new(:branch, false),
    Parameter.new(:type, false),
    Parameter.new(:haltonfailure, false),
    Parameter.new(:failureproperty, false),
    Parameter.new(:transitive, false),
    Parameter.new(:showprogress, false),
    Parameter.new(:validate, false),
    Parameter.new(:settingsRef, false),
    Parameter.new(:resolveId, false),
    Parameter.new(:log, false)
  ]
end

#result_property_valuesObject



29
30
31
32
33
34
35
36
37
# File 'lib/ivy/resolve.rb', line 29

def result_property_values
  property = params[:resolveId] ? ".#{params[:resolveId]}" : ''
  [
    ResultValue.new("ivy.organisation#{property}", nil),
    ResultValue.new("ivy.module#{property}", nil),
    ResultValue.new("ivy.revision#{property}", nil),
    ResultValue.new("ivy.resolved.configurations#{property}", Ivy::COMMA_SPLITTER)
  ]
end