Class: MobyCommand::AgentCommand

Inherits:
CommandData show all
Defined in:
lib/tdriver/base/sut/generic/commands/agent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from CommandData

#get_application_id, #get_sut, #set_application_uid, #set_sut

Constructor Details

#initialize(parameters = {}) ⇒ AgentCommand

description

Agent command holds the required parameters to execute a agent information queries in the target.

arguments

params

Hash
 description: Hash for holding the parameters need by the agent information query operation.
 example: {}


33
34
35
36
37
38
39
# File 'lib/tdriver/base/sut/generic/commands/agent.rb', line 33

def initialize( parameters = {} )

   parameters.check_type Hash, 'wrong argument type $1 for agent service command object (expected $2)'

  @parameters = parameters

end

Instance Attribute Details

#parametersObject

Returns the value of attribute parameters.



24
25
26
# File 'lib/tdriver/base/sut/generic/commands/agent.rb', line 24

def parameters
  @parameters
end