Class: Gridinit::Jmeter::GCConsoleStatusLogger
- Inherits:
-
Object
- Object
- Gridinit::Jmeter::GCConsoleStatusLogger
- Includes:
- Helper
- Defined in:
- lib/gridinit-jmeter/plugins/gc_console_status_logger.rb
Instance Attribute Summary collapse
-
#doc ⇒ Object
Returns the value of attribute doc.
Instance Method Summary collapse
-
#initialize(name, params = {}) ⇒ GCConsoleStatusLogger
constructor
A new instance of GCConsoleStatusLogger.
Methods included from Helper
#enabled, #update, #update_at_xpath
Constructor Details
#initialize(name, params = {}) ⇒ GCConsoleStatusLogger
Returns a new instance of GCConsoleStatusLogger.
7 8 9 10 11 12 |
# File 'lib/gridinit-jmeter/plugins/gc_console_status_logger.rb', line 7 def initialize(name, params={}) @doc = Nokogiri::XML(<<-EOF.strip_heredoc) <kg.apc.jmeter.reporters.ConsoleStatusLogger guiclass="kg.apc.jmeter.reporters.ConsoleStatusLoggerGui" testclass="kg.apc.jmeter.reporters.ConsoleStatusLogger" testname="#{name}" enabled="true"/> EOF update params end |
Instance Attribute Details
#doc ⇒ Object
Returns the value of attribute doc.
5 6 7 |
# File 'lib/gridinit-jmeter/plugins/gc_console_status_logger.rb', line 5 def doc @doc end |