Class: Jenkins::Slaves::ComputerListenerProxy
- Inherits:
-
Object
- Object
- Jenkins::Slaves::ComputerListenerProxy
show all
- Includes:
- Plugin::Proxy
- Defined in:
- lib/jenkins/slaves/computer_listener_proxy.rb
Instance Method Summary
collapse
#getTarget, #initialize
extended, #implemented, #included
#behaves_as
Instance Method Details
#onConfigurationChange ⇒ Object
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
|