Class: AppContext

Inherits:
Object
  • Object
show all
Defined in:
AppContext.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (AppContext) initialize(param)

Returns a new instance of AppContext



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'AppContext.rb', line 31

def initialize(param)
    @masterurl = ""
    @cloudproviders = ""
    @domainName = ""
    @project = ""
    @job = ""
    @workspaceLocation = ""
    @archiveLocation = ""
    @stepid = ""
    @targetServer=""
    @integrations=""
    @reportsLocation=""
    @runnumber=""
    @apikey=""
    @stepname=""
    @environmentId=""
   load_data(param) 
end

Instance Attribute Details

- (Object) apikey

Returns the value of attribute apikey



26
27
28
# File 'AppContext.rb', line 26

def apikey
  @apikey
end

- (Object) archiveLocation

Returns the value of attribute archiveLocation



20
21
22
# File 'AppContext.rb', line 20

def archiveLocation
  @archiveLocation
end

- (Object) cloudproviders

Returns the value of attribute cloudproviders



15
16
17
# File 'AppContext.rb', line 15

def cloudproviders
  @cloudproviders
end

- (Object) domainName

Returns the value of attribute domainName



16
17
18
# File 'AppContext.rb', line 16

def domainName
  @domainName
end

- (Object) environmentId

Returns the value of attribute environmentId



28
29
30
# File 'AppContext.rb', line 28

def environmentId
  @environmentId
end

- (Object) integrations

Returns the value of attribute integrations



23
24
25
# File 'AppContext.rb', line 23

def integrations
  @integrations
end

- (Object) job

Returns the value of attribute job



18
19
20
# File 'AppContext.rb', line 18

def job
  @job
end

- (Object) masterurl

Returns the value of attribute masterurl



14
15
16
# File 'AppContext.rb', line 14

def masterurl
  @masterurl
end

- (Object) project

Returns the value of attribute project



17
18
19
# File 'AppContext.rb', line 17

def project
  @project
end

- (Object) reportsLocation

Returns the value of attribute reportsLocation



24
25
26
# File 'AppContext.rb', line 24

def reportsLocation
  @reportsLocation
end

- (Object) runnumber

Returns the value of attribute runnumber



25
26
27
# File 'AppContext.rb', line 25

def runnumber
  @runnumber
end

- (Object) stepid

Returns the value of attribute stepid



21
22
23
# File 'AppContext.rb', line 21

def stepid
  @stepid
end

- (Object) stepname

Returns the value of attribute stepname



27
28
29
# File 'AppContext.rb', line 27

def stepname
  @stepname
end

- (Object) targetServer

Returns the value of attribute targetServer



22
23
24
# File 'AppContext.rb', line 22

def targetServer
  @targetServer
end

- (Object) workspaceLocation

Returns the value of attribute workspaceLocation



19
20
21
# File 'AppContext.rb', line 19

def workspaceLocation
  @workspaceLocation
end

Instance Method Details

- (Object) get_data(keyname)



54
55
56
# File 'AppContext.rb', line 54

def get_data(keyname)
    @AppContextParams[keyname] 
end

- (Object) load_data(param)



50
51
52
# File 'AppContext.rb', line 50

def load_data(param)
    @AppContextParams = param
end