class Bosh::Monitor::Plugins::ResurrectorHelper::JobInstanceKey
Hashable tuple of the identifying properties of a job
Attributes
deployment[RW]
id[RW]
job[RW]
Public Class Methods
new(deployment, job, id)
click to toggle source
# File lib/bosh/monitor/plugins/resurrector_helper.rb, line 8 def initialize(deployment, job, id) @deployment = deployment @job = job @id = id end
Public Instance Methods
eql?(other)
click to toggle source
# File lib/bosh/monitor/plugins/resurrector_helper.rb, line 18 def eql?(other) other.deployment == deployment && other.job == job && other.id == id end
hash()
click to toggle source
# File lib/bosh/monitor/plugins/resurrector_helper.rb, line 14 def hash (deployment.to_s + job.to_s + id.to_s).hash end
to_s()
click to toggle source
# File lib/bosh/monitor/plugins/resurrector_helper.rb, line 24 def to_s [deployment, job, id].join('/') end