Class: Jenkins::Launcher::Proc

Inherits:
Object
  • Object
show all
Includes:
Plugin::Wrapper
Defined in:
lib/jenkins/launcher.rb

Instance Attribute Summary

Attributes included from Plugin::Wrapper

#native

Instance Method Summary collapse

Methods included from Plugin::Wrapper

#initialize

Methods included from Plugin::Behavior

extended, #implemented, #included

Methods included from Plugin::Behavior::BehavesAs

#behaves_as

Instance Method Details

#alive?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/jenkins/launcher.rb', line 11

def alive?
  @native.isAlive()
end

#joinObject



15
16
17
# File 'lib/jenkins/launcher.rb', line 15

def join
  @native.join()
end

#killObject



19
20
21
22
# File 'lib/jenkins/launcher.rb', line 19

def kill
  @native.kill()
  nil
end

#stderrObject



32
33
34
# File 'lib/jenkins/launcher.rb', line 32

def stderr
  @native.getStderr().to_io
end

#stdinObject



24
25
26
# File 'lib/jenkins/launcher.rb', line 24

def stdin
  @native.getStdin().to_io
end

#stdoutObject



28
29
30
# File 'lib/jenkins/launcher.rb', line 28

def stdout
  @native.getStdout().to_io
end