Class: MobyUtil::Plugin

Inherits:
Object show all
Defined in:
lib/tdriver/util/plugin/abstract.rb

Overview

TDriver plugin abstraction class

Direct Known Subclasses

MobyPlugin::Generic::SUT

Class Method Summary collapse

Class Method Details

.plugin_nameObject

plugin configuration, constructor and deconstructor methods

Raises:



26
27
28
29
30
# File 'lib/tdriver/util/plugin/abstract.rb', line 26

def self.plugin_name

  raise PluginError, "Plugin name not defined in implementation (#{ self.name })"

end

.plugin_required_tdriver_versionObject

Raises:



38
39
40
41
42
# File 'lib/tdriver/util/plugin/abstract.rb', line 38

def self.plugin_required_tdriver_version

  raise PluginError, "Required TDriver version not defined in plugin implementation (#{ self.name })" 

end

.plugin_typeObject

Raises:



32
33
34
35
36
# File 'lib/tdriver/util/plugin/abstract.rb', line 32

def self.plugin_type

  raise PluginError, "Plugin type not defined in implementation (#{ self.name })"

end

.register_pluginObject



44
45
46
47
48
# File 'lib/tdriver/util/plugin/abstract.rb', line 44

def self.register_plugin

  # this method will be called when plugin is registered

end

.unregister_pluginObject



50
51
52
53
54
# File 'lib/tdriver/util/plugin/abstract.rb', line 50

def self.unregister_plugin

  # this method will be called when plugin is unregistered

end