Class: AppContext
- Inherits:
-
Object
- Object
- AppContext
- Defined in:
- lib/cloudmunch_Ruby_sdk_v2/AppContext.rb
Instance Attribute Summary collapse
-
#apikey ⇒ Object
Returns the value of attribute apikey.
-
#archiveLocation ⇒ Object
Returns the value of attribute archiveLocation.
-
#cloudproviders ⇒ Object
Returns the value of attribute cloudproviders.
-
#domainName ⇒ Object
Returns the value of attribute domainName.
-
#environmentId ⇒ Object
Returns the value of attribute environmentId.
-
#integrations ⇒ Object
Returns the value of attribute integrations.
-
#job ⇒ Object
Returns the value of attribute job.
-
#masterurl ⇒ Object
Returns the value of attribute masterurl.
-
#project ⇒ Object
Returns the value of attribute project.
-
#reportsLocation ⇒ Object
Returns the value of attribute reportsLocation.
-
#runnumber ⇒ Object
Returns the value of attribute runnumber.
-
#stepid ⇒ Object
Returns the value of attribute stepid.
-
#stepname ⇒ Object
Returns the value of attribute stepname.
-
#targetServer ⇒ Object
Returns the value of attribute targetServer.
-
#workspaceLocation ⇒ Object
Returns the value of attribute workspaceLocation.
Instance Method Summary collapse
- #get_data(keyname) ⇒ Object
-
#initialize(param) ⇒ AppContext
constructor
A new instance of AppContext.
- #load_data(param) ⇒ Object
Constructor Details
#initialize(param) ⇒ AppContext
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 'lib/cloudmunch_Ruby_sdk_v2/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
#apikey ⇒ Object
Returns the value of attribute apikey.
26 27 28 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 26 def apikey @apikey end |
#archiveLocation ⇒ Object
Returns the value of attribute archiveLocation.
20 21 22 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 20 def archiveLocation @archiveLocation end |
#cloudproviders ⇒ Object
Returns the value of attribute cloudproviders.
15 16 17 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 15 def cloudproviders @cloudproviders end |
#domainName ⇒ Object
Returns the value of attribute domainName.
16 17 18 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 16 def domainName @domainName end |
#environmentId ⇒ Object
Returns the value of attribute environmentId.
28 29 30 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 28 def environmentId @environmentId end |
#integrations ⇒ Object
Returns the value of attribute integrations.
23 24 25 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 23 def integrations @integrations end |
#job ⇒ Object
Returns the value of attribute job.
18 19 20 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 18 def job @job end |
#masterurl ⇒ Object
Returns the value of attribute masterurl.
14 15 16 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 14 def masterurl @masterurl end |
#project ⇒ Object
Returns the value of attribute project.
17 18 19 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 17 def project @project end |
#reportsLocation ⇒ Object
Returns the value of attribute reportsLocation.
24 25 26 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 24 def reportsLocation @reportsLocation end |
#runnumber ⇒ Object
Returns the value of attribute runnumber.
25 26 27 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 25 def runnumber @runnumber end |
#stepid ⇒ Object
Returns the value of attribute stepid.
21 22 23 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 21 def stepid @stepid end |
#stepname ⇒ Object
Returns the value of attribute stepname.
27 28 29 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 27 def stepname @stepname end |
#targetServer ⇒ Object
Returns the value of attribute targetServer.
22 23 24 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 22 def targetServer @targetServer end |
#workspaceLocation ⇒ Object
Returns the value of attribute workspaceLocation.
19 20 21 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 19 def workspaceLocation @workspaceLocation end |
Instance Method Details
#get_data(keyname) ⇒ Object
54 55 56 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 54 def get_data(keyname) @AppContextParams[keyname] end |
#load_data(param) ⇒ Object
50 51 52 |
# File 'lib/cloudmunch_Ruby_sdk_v2/AppContext.rb', line 50 def load_data(param) @AppContextParams = param end |