Module: MobyBehaviour::AgentCommands

Includes:
Behaviour
Defined in:
lib/tdriver/base/sut/generic/behaviours/agent.rb

Overview

description

Agent specific commands

behaviour

AgentCommands

requires

*

input_type

*

sut_type

*

sut_version

*

objects

AgentCommandService

Instance Method Summary collapse

Instance Method Details

#versionObject

nodoc

description

Queries version of used agent

arguments

returns

String

description: version number in String format
example: "1.3"

exceptions

info

See SUT#agent method



60
61
62
63
64
65
66
67
68
69
70
# File 'lib/tdriver/base/sut/generic/behaviours/agent.rb', line 60

def version
  
  # execute command/model by using sut controller
  execute_command( 

    # model
    MobyCommand::AgentCommand.new( :command => :version ) 

  )
  
end