Class: Jenkins::Slaves::ComputerListenerProxy

Inherits:
Object
  • Object
show all
Includes:
Plugin::Proxy
Defined in:
lib/jenkins/slaves/computer_listener_proxy.rb

Instance Method Summary collapse

Methods included from Plugin::Proxy

#getTarget, #initialize

Methods included from Plugin::Behavior

extended, #implemented, #included

Methods included from Plugin::Behavior::BehavesAs

#behaves_as

Instance Method Details

#onConfigurationChangeObject



25
26
27
# File 'lib/jenkins/slaves/computer_listener_proxy.rb', line 25

def onConfigurationChange()
  @object.configured()
end

#onLaunchFailure(computer, taskListener) ⇒ Object



9
10
11
# File 'lib/jenkins/slaves/computer_listener_proxy.rb', line 9

def onLaunchFailure(computer, taskListener)
  @object.launchfailed(import(computer), import(taskListener))
end

#onOffline(computer) ⇒ Object



21
22
23
# File 'lib/jenkins/slaves/computer_listener_proxy.rb', line 21

def onOffline(computer)
  @object.offline(import(computer))
end

#onOnline(computer, listener) ⇒ Object



17
18
19
# File 'lib/jenkins/slaves/computer_listener_proxy.rb', line 17

def onOnline(computer, listener)
  @object.online(import(computer), import(listener))
end

#preLaunch(computer, taskListener) ⇒ Object



5
6
7
# File 'lib/jenkins/slaves/computer_listener_proxy.rb', line 5

def preLaunch(computer, taskListener)
  @object.prelaunch(import(computer), import(listener))
end

#preOnline(computer, channel, rootFilePath, taskListener) ⇒ Object



13
14
15
# File 'lib/jenkins/slaves/computer_listener_proxy.rb', line 13

def preOnline(computer, channel, rootFilePath, taskListener)
  @object.preonline(import(computer), import(channel), Jenkins::FilePath.new(rootFilePath), import(taskListener))
end