Class: PuppetLanguageServer::GlobalQueues::SidecarQueueJob

Inherits:
SingleInstanceQueueJob show all
Defined in:
lib/puppet-languageserver/global_queues/sidecar_queue.rb

Instance Attribute Summary collapse

Attributes inherited from SingleInstanceQueueJob

#key

Instance Method Summary collapse

Constructor Details

#initialize(action, additional_args, handle_errors, connection_id) ⇒ SidecarQueueJob

Returns a new instance of SidecarQueueJob.



12
13
14
15
16
17
18
# File 'lib/puppet-languageserver/global_queues/sidecar_queue.rb', line 12

def initialize(action, additional_args, handle_errors, connection_id)
  super("#{action}-#{connection_id}")
  @action = action
  @additional_args = additional_args
  @handle_errors = handle_errors
  @connection_id = connection_id
end

Instance Attribute Details

#actionObject

Returns the value of attribute action.



10
11
12
# File 'lib/puppet-languageserver/global_queues/sidecar_queue.rb', line 10

def action
  @action
end

#additional_argsObject

Returns the value of attribute additional_args.



10
11
12
# File 'lib/puppet-languageserver/global_queues/sidecar_queue.rb', line 10

def additional_args
  @additional_args
end

#connection_idObject

Returns the value of attribute connection_id.



10
11
12
# File 'lib/puppet-languageserver/global_queues/sidecar_queue.rb', line 10

def connection_id
  @connection_id
end

#handle_errorsObject

Returns the value of attribute handle_errors.



10
11
12
# File 'lib/puppet-languageserver/global_queues/sidecar_queue.rb', line 10

def handle_errors
  @handle_errors
end